File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

check whether the text box is filled with value or not

 
rachana ravali
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,
i have a form which contains text boxes.
If user fills some text boxes and click any link (which goes to previous page etc), a pop up should be displayed warning the user that he had already filled some text boxes and moving to the clicked link will discontinue the registration he is doing.

i am able to check whether the user had changed the data in text boxes using onchange but i need some function to check whether the text box is already having some value (then also it should show the pop up).

Please advice.
thanks in anticipation.
[ April 26, 2007: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iterate through the elements looking for text boxes with a non-empty value.
[ April 26, 2007: Message edited by: Bear Bibeault ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic