I'm calling a VB Script function when a user clicks on a button, and want to pass a variable into the function. My code looks like this:
<td valign=center><input type=submit name=Scroller value="|<" onClick="return Scrolling(<%=beg%>)"></td>
beg is the name of a VBScript variable, and Scrolling is the name of my function. The problem is, the way its done now, I need quotes around the string value. How would I add the quotes, or should I pass a value in another way??
Thanks,
Ray
<td valign=center><input type=submit name=Scroller value="|<" onClick="return Scrolling(<%=beg%>)"></td>
beg is the name of a VBScript variable, and Scrolling is the name of my function. The problem is, the way its done now, I need quotes around the string value. How would I add the quotes, or should I pass a value in another way??
Thanks,
Ray