Jump to content

text box disable


Recommended Posts

radio butons

<input name="aaaa" type="radio" value="0" checked disabled>
<input name="aaaa" type="radio" value="1" disabled>
<input name="aaaa" type="radio" value="n" disabled>

nota: todos os radio butons que tenham o mesmo nome pertencem a um grupo e são tratados como sendo um unico objecto, que tem o valor do RB checked ou (caso nenhum esteja checked) o primeiro valor definido (neste exemplo seria o 0).

check box

<input type="checkbox" name="bbbb" value="xpto" checked disabled>
<input type="checkbox" name="cccc" value="xyz" disabled>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.