readonly textbox in netscape navigator

G

Guest

Hi,

I have a textbox, which has the attribute readonly="readonly", but when i
check my site in netscape navtigator....readonly is not working...i am able
to change the value of textbox...

this textbox contains customer name, and is used as a field to query
database...therefore very critical that no one can modify it. Any workaround
it?

Any help will be greatly appreciated!!!!

Thanks,
Shikha
 
D

David Berry

For readonly it would just be <input type="text" name="txtBox" size="20"
readonly> You don't need readonly="readonly",
 
G

Guest

Hi David,

When I just put readonly, it still doesn't work...I am able to modify the
field in Netscape Navigator!
 
D

David Berry

Try using Disabled and see if that works. Ex: <input type="text"
name="txtBox" size="20" disabled>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top