开发者

jQuery Autocomplete and gridview footer textbox ASP.NET

开发者 https://www.devze.com 2023-01-25 17:36 出处:网络
<script src=\"JQuery/jqu开发者_StackOverflowery-1.4.1.min.js\" type=\"text/javascript\"></script>
<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

精彩评论

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