I have a function in jQuery
which I do through the .on('change')
event, but I also needed that same function to happen on page load, but I do not know how to do this, call two events in a function.
Function code in jQuery
:
$j("#fullname").on('change',function(){
alert("Teste");
});