- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 60 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Dynamic Javascript? [ ]
Author
Message
Cyrus255
Corporal
Joined: Nov 11, 2005
Posts: 71
Posted:
Wed Jun 21, 2006 8:44 am
I'm sure it's possible.
How do I pregenerate javascript via PHP, and then only show the viewer the endproduct?
Like instead of having the code in the source say "src=myscript.js", have PHP generate the code internally, and spit out the final product.
I.E. if the JS says "Hello World!" I want the source to show "Hello World" and not <script src="myscript.js">
_________________Matchmaking Services
Yahoo Personals
Match Dating Service
Date
FriendFinder
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum