开发者

how to force textchanged to work onblur? [duplicate]

This question already has an answer here: Closed 11 years ago.

Possible Duplicate:

how to force textchanged to work onblur ??

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 have to tab away.

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开发者_JS百科 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜