is all off you javascript making it to the browser? check the source. You probably forgot to escape a quote somplace. PHP really has noting to do with javascript.
- Anthony "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I understand perfectly well what PHP does. That is why I am confused that > if HTML including javascript within <script> tags, generated by PHP and sent > to the browser, is not working. I have checked for unique names and they > are all unique. I will try your suggestion with the form tags, I have not > tried that yet. > > /T > > on 6/25/03 8:03, Chris Hayes at [EMAIL PROTECTED] wrote: > > > At 14:55 25-6-03, you wrote: > >> Is there a limitation in PHP with Javascript and forms? > > Your question shows you do not have a clear idea of what PHP does and where > > javascript comes in. Please do a Google on this combination. > > > > The short of it: PHP builds a HTML/javascript page and sends it to the > > browser. PHP is done there. The browser now only sees HTML with javascript. > > But please find more elaborate texts. > > > >> I have a problem > >> when creating a form within a table with Checkboxes and the accompanying > >> javascript to govern the checks. > >> > >> I am generating the html for a table the first of 10 cells has 3 checkboxes. > >> I have experimented whether to make the form begin at the table tag, and > >> make multiple forms with different names at each table row. Generating the > >> HTML is easy but getting the javascript to work has been unsuccessful... > > > > 1. i found it works best to do something like <form<table></table></form> , > > prevent overlapping. > > 2. are you sure your form elements have unique names? > > 3. are you sure the javascript is working on the correct form/form element? > > 4. do you know the javascript term "this" ? > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php