How to detect change made via IE Data Binding
I have element populated from XML via IE D开发者_开发百科ata Binding:
<table datasrc=#myXML >
[...]
<input id="sampleInput" datafld="data1" type="text">
[...]
I would like to perform an action (in javascript function) after value in this input was changed. I tryed onchange event but it didnt work. How can I do it?
thank you in advance!
Are you using jQuery? If so:
function(){
$("#sampleInput").change(function(){
//do your stuff here...
});
};
精彩评论