开发者

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...
});
};

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜