We have a webpart in SharePoint that uses the Ajaxtoolkit.js to provide the intellisense functionality. IE displays a warning on clicking any option in the JS intellisens dropdown. We need to suppress or overcome this warning. Please suggest a way to suppress/overcome this? Thanks in advance!
Scripts
<head>
<script type="text/javascript">
$(function () {
$("#<%= m_searchKeyWordTextBox.ClientID %>").keypress(function (event) {
if (event.which == 13) {
// call basic search onlick
$("#<%= btnBasicSearch.ClientID %>").click();
}
});
});
</script>
</head>
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET CLR 1.1.4322; MS-RTC LM 8; .NET4.0C; .NET4.0E)
Timestamp: Tue, 21 Aug 2012 13:32:53 UTC
Message: Object expected
Line: 2
Char: 20597
Code: 0
Error IE on developer tools
Excerpt of Portion where error was pointed to in IE:
if(this._enterKeyDownScript)eval(this._enterKeyDownScript)}},_onListMouseOver:function(b){ULSxaw:;var a=this._getCompletionListItem(b.target);
Thanks
Ganesh
No comments:
Post a Comment