开发者

how to force textchanged to work onblur?

开发者 https://www.devze.com 2023-02-12 17:31 出处:网络
actually i want to do tabbing in a Gridview rowwise i have done it. Problem is that i have done by using onTextChange event now whenever i hav to do tabbing

actually i want to do tabbing in a Gridview rowwise i have done it. Problem is that i have done by using onTextChange event now whenever i hav to do tabbing i have to text and then enter the tab,then only it works and my requirement开发者_运维问答 is that tab should be done for without entering the text also So as i'm having all the code i want to forcefully do this onBlur event. ??


You could probably write just a little javascript(using jQuery) so that when the onblur event occurs that the txtChanged event is called on the client side. Something like

$('#IdHere').blur(function() {
  $('#IdHere').change();
});
0

精彩评论

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