I tried to call jQuery function in div onload method but it is not working here is my html code for calling the function in
<div onload="myfunction(value)">
</div>
and this function is call in jQuery but not working properly.
Here is my jQuery function calling:
<script type="text/javascript">
$(document).ready(function() {
myfunction(value) {
alert(value);
}
});
</script>
Please give me an idea about that how to call function in div load method