how to get change event on created fields in jquery
- by frosty
I have some jquery code the creates an quantity text box. Like so
<input type="text" value="1000" class="qty" name="[0].Quantity">
I wish to add some validation to this text box but can hit the method. I believe i need to utlise Live(). But can't quite figure out how this is implemented.
This is where i'm at
$(document).ready(function () {
$(".qty").change(checkValue);
});
function checkValue() {
alert("on change");
}