Re: [PHP] Embedding JavaScript into a PHP generated web page

2004-07-25 Thread Jason Davidson
Hey, keep trying, you can use php to generate JS to send to the browser, its especially usefull for form validation as you said. Make sure your JS is correct, and within script tags. Start with simple JS, like, alert("i worked"); then start adding one piece at a time and constantly checking to s

RE: [PHP] Embedding JavaScript into a PHP generated web page

2004-07-25 Thread Ash Young
Are you getting any error message at all or is the JavaScript just failing? If your receiving a PHP error, are you sure you've escaped all the quotes in the JavaScript? -- ash young :: http://evoluted.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] Embedding JavaScript into a PHP generated web page

2004-07-25 Thread Robert Frame
Hi There, I have a web page with a form that is generated by PHP, and part of my design utilizes JavaScript to provide some error checking within the objects in the form. I have written the javascript in an html document, but I am having trouble blending the two together. I have tried sending th