dojo textbox value is not visible in chrome after using disable attribute -


i'm using dojo 1.7 ui , have problem dojo textbox if disabled textbox value in text box not visible gray color appears in chrome please me how solve it. in advance. , code snippet is:

<td><input dojotype="dijit.form.textbox" trim="true" id="testid" name="test" maxlength="10" value="value there" disable="disable" />  

you should using disabled attribute, not disable, example:

<input dojotype="dijit.form.textbox" trim="true" id="testid" name="test" maxlength="10" value="value there" disabled="disabled" />  

this should work fine, in google chrome can see in following fiddle.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -