While I am a programmer I am not a javascript programmer. I'm looking for a script I can alter for my purposes.
Right now I have several javascripts that simply return a text string. They're all basically the same information but each script returns the info in a slightly different format (one script returns basic info for a sidebar, one returns longer info for a page)
What I'd like is a script that can be called with a variable, and the script uses that variable to determine what text gets returned.
Is this even possible?
Right now I have several javascripts that simply return a text string. They're all basically the same information but each script returns the info in a slightly different format (one script returns basic info for a sidebar, one returns longer info for a page)
What I'd like is a script that can be called with a variable, and the script uses that variable to determine what text gets returned.
Is this even possible?