Click to See Complete Forum and Search --> : how to use ASP script to call the object in javascript


andrewchai
03-31-2005, 02:40 AM
i already try this but still have problem.

<%
do while not rs11.eof

no_days = no_days + cint(rs11("no_days"))

response.cookies("no_days") = no_days
response.cookies("year_ent") = ye_ent

rs11.movenext
loop

balance = ye_ent - no_days

response.write("<script> document.getElementById('balance').value =" & balance & ";</script>")

rs11.close
%>

buntine
03-31-2005, 04:44 AM
See: http://www.webdeveloper.com/forum/showthread.php?t=61247

phpnovice
03-31-2005, 09:35 AM
See: http://www.webdeveloper.com/forum/showthread.php?t=61122