The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
make checkbox checked
how do I make a checkbox checked by default
PHP Code:
|
#2
|
|||
|
|||
Add:
Code:
checked="checked" |
#3
|
|||
|
|||
Isn't it just "checked"?
And you would be breaking the progam logic. The following is already setting checked if it is needed: HTML Code:
$checked[postvbookieevent] |
#4
|
|||
|
|||
I think some people used checked="checked" because its believed to be necessary. Ive only ever used checked or selected, though.
|
#5
|
|||
|
|||
Lol not all browser like the checked=checked
|
#6
|
|||
|
|||
This is normal HTML syntax.
<input type="radio" name="Typ" value="bla" checked> However, to be XHTML-compliant you should use it like this <input type="radio" name="Typ" value="bla" checked="checked"> Thomas |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|