![]() |
make checkbox checked
how do I make a checkbox checked by default
PHP Code:
|
Add:
Code:
checked="checked" |
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] |
I think some people used checked="checked" because its believed to be necessary. Ive only ever used checked or selected, though.
|
Lol not all browser like the checked=checked
|
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 |
All times are GMT. The time now is 12:41 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|