Re: [PHP] Re: Javascript in PHP

2003-06-24 Thread [EMAIL PROTECTED]
Yeah, that's a problem! I corrected it and now it comes out like: Independent Fact Finders Inc. function CheckBox1() { var box1 = window.document.ctype.wr; var box2 = window.document.ctype.pfo; var box3 = window.document.ctype.pr; if (box1.checked == true ) { box2.checke

Fwd: Re: [PHP] Re: Javascript in PHP

2003-06-24 Thread Chris Hayes
additionally, you named the fields WR PR and PFO while you refer to them as wr, pr and pfo. Date: Tue, 24 Jun 2003 16:04:17 +0200 To: [EMAIL PROTECTED], [EMAIL PROTECTED] From: Chris Hayes <[EMAIL PROTECTED]> Subject: Re: [PHP] Re: Javascript in PHP I missed the 1st post but could this be r

Re: [PHP] Re: Javascript in PHP

2003-06-24 Thread Chris Hayes
I missed the 1st post but could this be related to form name being 'crimetype' and the javascript tryin to access the form 'ctype' ? At 15:55 24-6-03, you wrote: i think you have to add "\n" after each row of java script code. $js .= "}\n"; afaik the ; handles that but indeed i would let the f