Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Javascript Question
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

leatherlips
Senior Member

USA
1838 Posts

Posted - 12 June 2009 :  12:04:25  Show Profile  Visit leatherlips's Homepage
I have the following javascript:

<script type="text/javascript">
var brand = "Name Here";
</script>

I'm trying to get the part in red to use the strForumTitle so it picks is up from the database. How would I do that?

I've tried:

<script type="text/javascript">
var brand = " & strForumTitle & ";
</script>

But no luck...

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 12 June 2009 :  12:26:58  Show Profile
You'd need to response.write it out or use "<%=variable%>";.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.82 seconds. Powered By: Snitz Forums 2000 Version 3.4.07