Oct 6, 2006 #1 james0816 Programmer Jan 9, 2003 295 US I know...probably an easy question but i'm a newbie on the Java side. How do you do it?
Oct 6, 2006 #2 cLFlaVA Programmer Jun 14, 2004 6,450 US my preferred method is: Code: <a href="#" onclick="doThing(); return false;">click here to do things</a> *cLFlaVA ---------------------------- [tt]"quote goes here"[/tt] [URL unfurl="true"]http://www.coryarthus.com/[/url] Upvote 0 Downvote
my preferred method is: Code: <a href="#" onclick="doThing(); return false;">click here to do things</a> *cLFlaVA ---------------------------- [tt]"quote goes here"[/tt] [URL unfurl="true"]http://www.coryarthus.com/[/url]
Oct 6, 2006 Thread starter #3 james0816 Programmer Jan 9, 2003 295 US Thx...one more thing....can you use a PHP variable embedded inside a javascript? (I.E. I want to use the Window.Open to open a new window. The address of which is supplied via a MySQL DB. Upvote 0 Downvote
Thx...one more thing....can you use a PHP variable embedded inside a javascript? (I.E. I want to use the Window.Open to open a new window. The address of which is supplied via a MySQL DB.
Oct 6, 2006 #4 cLFlaVA Programmer Jun 14, 2004 6,450 US of course. PHP is done rendering output before it's sent to the client. JavaScript won't operate until (in this case) the user clicks a link. *cLFlaVA ---------------------------- [tt]"quote goes here"[/tt] [URL unfurl="true"]http://www.coryarthus.com/[/url] Upvote 0 Downvote
of course. PHP is done rendering output before it's sent to the client. JavaScript won't operate until (in this case) the user clicks a link. *cLFlaVA ---------------------------- [tt]"quote goes here"[/tt] [URL unfurl="true"]http://www.coryarthus.com/[/url]