Page 1 of 1

javascript ?

Posted: Mon 26. Apr 2004, 22:28
by oleane
I try to perform javascript into template BODY section with onclick="" function. Before i have declared .js into header of course. Result : nothing happen when i click the button !
:(
Does someone try to execute javascript ?!

Thank

Posted: Mon 26. Apr 2004, 22:56
by Jérôme
Does the JavaScript Console in Firefox display any errors? Or, in IE, is there a yellow warning sign in the bottom left corner of your window?

Posted: Tue 27. Apr 2004, 09:24
by Pappnase
hello
what did you place in the onlick field an path to an .js file or the sourcecode?

Posted: Tue 27. Apr 2004, 19:22
by oleane
in fact i call a specific function with 2 parameters !
Is it necessary to refresh page when the clic is done ?
My page doesn't seems in error !
:o

Posted: Tue 27. Apr 2004, 19:32
by Jérôme
oleane, what have you exactly written into the body-onload field in the phpwcms backend?

And what is the JavaScript error message you receive?

Posted: Fri 30. Apr 2004, 22:10
by oleane
that's correct now. There were a syntax error !
Sorry :oops: