Hi,
Is there any particular reason why JavaScript included in php include page
does not work? Will this be a browser security issue? It works with FireFox,
but not with IE, which I suppose supports the browser security argument.
I've found it is a general JavaScript problem, but an example is:
<?php
/*snip*/
echo "<img src='../images/go.jpg'
onclick='javasc ript:document.s earch_form.subm it()' alt='go'
style='margin-left: .2em; vertical-align: top; '>";
/*snip*/
?>
There are other ways to use an image as a submit button, I realise, and
maybe I should just ditch the JavaScript, but it is an unexpected problem.
Many thanks
JB
Is there any particular reason why JavaScript included in php include page
does not work? Will this be a browser security issue? It works with FireFox,
but not with IE, which I suppose supports the browser security argument.
I've found it is a general JavaScript problem, but an example is:
<?php
/*snip*/
echo "<img src='../images/go.jpg'
onclick='javasc ript:document.s earch_form.subm it()' alt='go'
style='margin-left: .2em; vertical-align: top; '>";
/*snip*/
?>
There are other ways to use an image as a submit button, I realise, and
maybe I should just ditch the JavaScript, but it is an unexpected problem.
Many thanks
JB
Comment