i have write code to onload function. i also have some scritps to execute in click function. in the same script
window.load=alert("loaded");
is not working but open a new
<script>
window.load = alert("loaded");
</script>
is working.
Whats wrong with the Code..
Thanks in advance.
Advertisement
Answer
Thanks for all. i use
<script>
$(document).ready(function () {
// code here
}
</script>