[PHP] Re: Using javascript function from php

2005-03-10 Thread b
It's OK I worked it out. On Fri, 11 Mar 2005 15:44:55 +1100, <[EMAIL PROTECTED]> wrote: Hi, I am just learning php, and am currently converting some jsp pages to php. I used the follwing code in jsp to toggle between two images
function toggle(imagename,src1,src2){
if(document.imag

[PHP] Re: Using JavaScript variables in PHP

2003-11-21 Thread Lars V. Nielsen
You might be able to share values between PHP and JavaScript by using cookies. -- Lars V. Nielsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Using Javascript

2002-07-22 Thread Martin Clifford
Just my opinion, but it is ALWAYS a good idea to terminate statements with semicolons, no matter if there is or isn't additional statements. But thanks Chris for at least using standardized HTML coding practices. I can't stand it when I see tags and the like that don't cooperate with standards

[PHP] Re: Using Javascript

2002-07-21 Thread Chris Earle
You use the "onClick" feature like this: no semicolon unless there is more than one thing being called/defined -- you use single quotes within the onClick's double quotes "Uma Shankari T." <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hello, > > I need t