Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

running functions 1

Status
Not open for further replies.

Ouch

Programmer
Jul 17, 2001
159
GB
i know nothing about java, i am editing an old page someone else wrote.

i have put in the vbscript

how can i get it to run the jscript fuction if my statement is true?


<%if rscourse(&quot;dwebctid&quot;)<> &quot;&quot; then run the 'select_global_id(1)' function %>


<input type=&quot;text&quot; size=&quot;36&quot; onFocus=&quot;select_global_id(1)&quot; name=&quot;GLOBAL_ID&quot; VALUE=&quot;<%=rscourse(&quot;dwebctid&quot;)%>&quot;>
 
you may only wanna call this once the page has loaded

<%if rscourse(&quot;dwebctid&quot;)<> &quot;&quot; then%>
<script language=jscript>
select_global_id(1)
</script>
end if%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top