vdfvdfv said the following on 11/14/2007 8:37 PM:
Hi Guys,
I have a dynamic JS file created by a php file
I call this script using:
<script type="text/javascript" src="http://www.mysite.com/jsfile.php?
keyword=xxx"></script>
Is it possible to somehow change the keyword xxx using javascript?
(i.e. create it dynamically)
Thanks
Yes. And how you do it depends on what you are trying to do.
Are you wanting to simply reload that file with a different keyword,
without reloading the page, or something else?
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -
http://jibbering.com/faq/index.html
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/