This topic is locked

JAVASCRIPT PROBLEM

3/21/2008 8:50:49 AM
PHPRunner General questions
W
wilsonhaze author

Hello Everybody,

Please i am having this problem with a javscript i have, the script is a pull down menu, which changes when you change the first category, this script works normally when i test on a html page, it has a place to copy scripts into the <head section and the <body section, but when i put it into the edit side of the visual editor and build, i get an error, what i found out is that all the scripts reside on a .js file in the /include folder, please the main question is ;"how do i get javascript to work with phprunner",

Thanks.

Wilson

J
Jane 3/21/2008

Wilson,
add {literal} and {/literal} around your JavaScript code if code contains curly brackets.

W
wilsonhaze author 3/22/2008

Thanks Jane for your reply, i finally got another way to add the code, all i did was copy the scripts and save them on a .js file and then link the code it to the file, all the same thanks, i'll still try {literal}

Once again thanks.

Wilson