The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Dropdown Menus 'selected="selected"'
As per my previous thread, I am making an edit page where users can edit multiple rows at once, I have the updating working.
I'm now stuck at getting it to show what option the user has selected, when they view the edit page again. PHP Code:
To help you understand what I mean, here's an example of the HTML output: HTML Code:
<td><select class="primary" name="country[3]" tabindex="1"> <option value="1" class="" >Australia</option> <option value="2" class="" >Canada</option> <option value="3" class="" selected="selected">New Zealand</option> <option value="4" class="" >United Kingdom</option> <option value="5" class="" >United States</option> </select></td> <td><select class="primary" name="country[2]" tabindex="1"> <option value="1" class="" >Australia</option> <option value="2" class="" >Canada</option> <option value="3" class="" selected="selected">New Zealand</option> <option value="4" class="" >United Kingdom</option> <option value="5" class="" >United States</option> </select></td> Cheers for your help! Iain |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|