| Author |
onChange question
|
Soft Music
Greenhorn
Joined: Jan 17, 2002
Posts: 5
|
|
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
Joined: Jun 03, 2000
Posts: 5040
|
|
"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
|
Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56192
|
|
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
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: onChange question
|
|
|