private static string doPostBackWhenDropdownCloses(string clientId, string divID, string postBackHiddenField) { string strScript = "$(document).click(function() {" + "debugger;"+ "if(document.getElementById('" + postBackHiddenField + .value=='1') {" + " document.getElementById('" + postBackHiddenField + "').value='0';" + " $('#" + divID + "').hide( function(){" + " javascript: __doPostBack('" + clientId + "',''); " + " });" + "}" + "});"; return strScript; }
$(document)
jQuery(document)
$
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)