CodagenDev
07-30-2002, 09:51 PM
Hi:
I have a question about using Javascript in PHP pages. I was in need of a javascript that changed the values in one combo box base on what the user selected in another combo box. I found one on JavasciptKit here is the link to it.
double combo box (http://www.javascriptkit.com/script/cut183.shtml)
Now the problem is that in a static HTML webpage the script works fine. But when I try and embed it in a php page .php not a HTML page that has php tags in it the script does not work.
Anyone have any ideas as to why?
Thanks
I have a question about using Javascript in PHP pages. I was in need of a javascript that changed the values in one combo box base on what the user selected in another combo box. I found one on JavasciptKit here is the link to it.
double combo box (http://www.javascriptkit.com/script/cut183.shtml)
Now the problem is that in a static HTML webpage the script works fine. But when I try and embed it in a php page .php not a HTML page that has php tags in it the script does not work.
Anyone have any ideas as to why?
Thanks