127
rated 0 times
[
129]
[
2]
/ answers: 1 / hits: 15476
/ 12 Years ago, thu, january 17, 2013, 12:00:00
I have three input fields as below:
<input type=text name=address id=address/>
<input type=text name=city id=city/>
<input type=text name=country id=country/>
How can i add onChange event to all of these fields at once something like this:
$(select the elements with id address,city,country).bind(change, function() {
//do something
});
More From » jquery