开发者

jQuery Autocomplete and gridview footer textbox ASP.NET

<script src="JQuery/jqu开发者_StackOverflowery-1.4.1.min.js" type="text/javascript"></script>

<script src="JQuery/jquery.autocomplete.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
    $("#<%=(GVOperatos.Footer.FindControl('txtEPFNo')).ClientID%>").
     autocomplete('Search_EPFNo.ashx');});
</script>

I cant get gridview footer textbox client id in javascript.how to get that one. thanx.'


You can use a custom selector to select asp.net controls. Here is a blog post explaining the method. It comes in handy when needing to select asp.net controls.

http://lanitdev.wordpress.com/2009/06/08/extending-jquery-to-select-asp-controls/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜