[jQuery] Dynamic inputs not recognized
I have a page which creates dynamic text inputs through AJAX. I would like to
run a function when the value inside the input is changed by the user.
However, the following code doesn't seem to work on the dynamically created
inputs (it does work for the static text inputs). Any ideas what I'm doing
wrong?
$("input").change(indicateChange);
function indicateChange(foo) {
alert("Item has changed Part II"); //continue with the required function
code.
}
Seth
--
View this message in context: http://www.nabble.com/Dynamic-inputs-not-recognized-tf2681894.html#a7480573
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/