This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

readOnly Attribute

 
Arya Devan
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Is there any way to check the read-only attribute of a text box ??

I have to disable a image link beside a text box whose read-only attribute is set to true.

Thanks,
[ September 23, 2006: Message edited by: Bear Bibeault ]
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to check the read-only attribute of a text box


You can with javascript:

 
Chetan Parekh
Ranch Hand
Posts: 3640
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aslo checkDisable All Links with JavaScript by Eric Pascarello.

This thread is belongs to HTML and JavaScript forum.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you know, before sending the response to the client, that you're going to set the readonly attribute then you can do this with server side code.
If it needs to change according to the user's input, without sending another post to the server, then this will need to be done on the client.

If you need to do this on the client side, let us know so we can move this thread to the HTML/Javascript forum.
 
Arya Devan
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all ., thanks for the reply and sorry for the delayed response.

yes it needs to be done in the client side, and sorry for having posted it in this section.

thanks for tat.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic