View Single Post
Old 01-29-2013, 01:34 PM   PM User | #1
hno2005
Regular Coder

 
Join Date: Oct 2009
Posts: 102
Thanks: 0
Thanked 0 Times in 0 Posts
hno2005 can only hope to improve
How to post some data to a javascipt file

Hi every one
I need to send an id to a JavaScript file . this is my code :
<script src="test.js" language="javascript" ></script>

I want to post data , something like this :
<script src="test.js?id=5" language="javascript" ></script>

is it possible ?
How can I send an id to a javascript file ?

Thanks
hno2005 is offline   Reply With Quote