开发者

How to detect change made via IE Data Binding

开发者 https://www.devze.com 2023-01-31 15:12 出处:网络
I have element populated from XML via IE D开发者_开发百科ata Binding: <table datasrc=#myXML >

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

精彩评论

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