In my JSP, have to use the defined variable in javascript. How can I use it?
The below code is returning a null obj for totalObj in the javascript.
.............
........................
<script>
.........
var totalObj = document.getElementById("total");
totalObj=Number(obj1) + Number(obj2);
</script>
.....................
.....................
<bean:define id="total"><bean:write name="Form1"
property="total"/></bean:define>
................
.........
thanks.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]