Link to home
Start Free TrialLog in
Avatar of rd13603
rd13603

asked on

Can VB send vars to Javascript inside the Browser component?

How do you get VB to send vars to Javascript inside the Browser component?

I require that VB send values to javascript so that they may be sent to a 3D java applet engine.

Does anyone know if this is possible and HOW... can it be done?
Avatar of John844
John844

<%
dim strMyVar

strMyVar = "test"
%>

<script>
  var MyVar = "";
  myVar = "<%=strMyVar%>";
</script>
Sorry, Still in ASP mode.
is the page that you are using for the HTML source an ASP file or a HTM file?
ASKER CERTIFIED SOLUTION
Avatar of samopal
samopal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Richie_Simonetti
Interesting...
Avatar of rd13603

ASKER

I'll give this a try..

Thanks