Forum Moderators: not2easy

Message Too Old, No Replies

html input attribute readonly support

html input attribute readonly

         

tushar09

7:53 pm on Mar 12, 2010 (gmt 0)

10+ Year Member



is the html input attribute:
readonly
supported by all the major browsers (firefox 3, IE7, opera 9, chrome?)

<input name=hgp2 readonly class=idis>

Demaestro

7:58 pm on Mar 12, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes it is,

But you will want to define it like this:
readonly="readonly"

Also it is good practice to use quotes for your values.

final should look something like this:

<input name="hgp2" readonly="readonly" class="idis">

tushar09

6:57 pm on Mar 28, 2010 (gmt 0)

10+ Year Member



great ty used it