Hi,
i am using window.onload in HTML code which is like
- <script type="text/javascript" language="javascript">
-
-
window.onload = function(){
-
ShowPanel1();
-
return false;
-
}
-
</script>
where ShowPanel() is a function, now i have one dropdown in my form and their is a selectindexchanged postback on it, so every time dropdown is changed , this above code runs. Is their any way that this code runs only once when page initially loads. something like postback check in javascript??
Any help will be appreciated.
Regards
Jay