william007
asked on
JSP Custom tag with javascript function add the head section
Using the custom java tag, is it possible to include a java script function at the HTML HEAD section, and add the function name to the BODY Onload method?
ie
<HTML>
<HEAD>
<script>
function init(){
alert("this is added script);
}
</script>
</HEAD>
<BODY onload="init()">
</BODY>
</HTML>
ie
<HTML>
<HEAD>
<script>
function init(){
alert("this is added script);
}
</script>
</HEAD>
<BODY onload="init()">
</BODY>
</HTML>
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER