• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

onChange question

 
Soft Music
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a text field, I would like to use onChange event handler for this text field to call a link to update the same page. so when my user begins typing the this text field, I can update this page dynamically? Can I do that?
Thanks very much,
Soft Music
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Soft Music"
your name deosn't agree with the javaranch guidelines. Please take a moment and re-register after reviewing the guidelines at http://www.javaranch.com/name.jsp
thanks for your cooperation.
- satya
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64196
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a DHTML question more than anything else. What you don't want to do is to get the server involved -- imagine refreshing the page every time the user hits a key. Not appealing!
So you need to handle something like this entirely on the front end using JavaScript and DHTML. Depending on what browsers you need to support, this could get messy very quickly. I'd suggest posting this in the HTML and JavaScript forum.
bear
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic