[PHP] php - jscript - onclick event..

2005-06-22 Thread bruce
hi.. a somewhat php/jscript question... i have the following onclick that works... - div id=cms-edit-buttona href=# onclick=cms_focus ('cms-edit', 1); cms_focus ('cms-properties', 1); cms_focus ('cms-state', 99); this.blur (); return

Re: [PHP] php - jscript - onclick event..

2005-06-22 Thread Colin Ross
First of all, I _think_ this is more of a javascript/jscript question than a php one. Are you just trying to make a javascript call from php onload? If so, i'm pretty sure you can use window.onLoad in a script block in the head. Also, be sure to set your scripting type in the onclick. i.e.