Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > JavaScript > FAQ Topic - How...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 35466 of 37128
Post > Topic >>

FAQ Topic - How do I get a perl/asp/php variable into client-side js? (2008-05-03)

by "FAQ server" <javascript@[EMAIL PROTECTED] > May 2, 2008 at 11:00 PM

-----------------------------------------------------------------------
FAQ Topic - How do I get a perl/asp/php variable into
client-side js?
-----------------------------------------------------------------------

Use the server-side language to generate the javascript:

 var jsvar="<%= aspvar %>";
 var jsvar="<?php echo $phpvar ?>";


-- 
 Postings such as this are automatically sent once a day.  Their 
 goal is to answer repeated questions, and to offer the content to 
 the community for continuous evaluation/improvement.  The complete
 comp.lang.javascript FAQ is at http://jibbering.com/faq/index.html.
 The FAQ workers are a group of volunteers.  The sendings of these 
 daily posts are proficiently hosted by http://www.pair.com.
 




 5 Posts in Topic:
FAQ Topic - How do I get a perl/asp/php variable into client-sid
"FAQ server" &l  2008-05-02 23:00:02 
Re: FAQ Topic - How do I get a perl/asp/php variable into client
Dr J R Stockton <jrs@[  2008-05-03 20:08:20 
Re: FAQ Topic - How do I get a perl/asp/php variable into client
unbewusst.sein@[EMAIL PRO  2008-05-04 12:48:33 
Re: FAQ Topic - How do I get a perl/asp/php variable into client
Ugo <privacy@[EMAIL PR  2008-05-04 13:41:30 
Re: FAQ Topic - How do I get a perl/asp/php variable into client
Dr J R Stockton <jrs@[  2008-05-04 18:58:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 15:00:39 CDT 2008.