Connecting Tech Pros Worldwide Forums | Help | Site Map

javascript function: where does it run in this condition....

Newbie
 
Join Date: Mar 2007
Posts: 20
#1: Jun 5 '07
Hi,

i have a question plz help me..

i m accessing the table records n checking the fields values by javascript functions like this..

........
rs.open "select * from tenderxml ",con,3,2

<%
do while not rs.eof
maxid=rs("tid")
ORGNAME=rs("orgname")
......
......

response.Write "<script language='javascript'> test1=ValidateTID('"&maxid&"'); if (test1=='1'){document.form1.val.value='true';}else {document.form1.val.value='false'; }</script>"
......
......
rs.next
loop
%>

the above response.write is calling the javascript function well n i m getting the right value.

now plz tell me where does this javascript function will run, at client side or at server side.n tell me the reason also..
becoz i far i know the javascript runs at client side.

plz tell me as soon as possible....
thanks in advance

Reply