Advertisement

06.01.2008 at 04:06PM PDT, ID: 23448574
[x]
Attachment Details

Send parameter to JavaScript from VB.Net

Asked by wsturdev in Microsoft Visual Basic.Net

Tags: Javascript, parameter

I have a web app, and on one page, when it loads I start a Javascript routine that starts a timer:
      <body MS_POSITIONING="GridLayout" onLoad="InitializeTimer()">
At the appropriate time, the Javascript timer triggers another Javascript handler that puts up an alert.

I need to alter the alert depending upon a VB.Net session variable.

In my VB.Net code behind, I can look up/assemble the correct text, but tow can I pass the variable text to the JavaScript?Start Free Trial
[+][-]06.01.2008 at 04:07PM PDT, ID: 21688714

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.02.2008 at 09:45PM PDT, ID: 21697600

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual Basic.Net
Tags: Javascript, parameter
Sign Up Now!
Solution Provided By: wsturdev
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906