when making custom forms you often need to pull in data from a database and select an item from the select box. Normally you would loop through and add the 'selected' property. But with a small piece of javascript we can forever just set the value like all the input text boxes and it will always select the correct guy
Sur cette page du site, vous pouvez voir la vidéo en ligne Automatically select dynamic select box - PHP & Javascript durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur optikalefx 23 octobre 2010, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 31,548 fois et il a aimé 41 téléspectateurs. Bon visionnage!