[PHP] OT-Javascript Question

2003-11-06 Thread Jake McHenry
Hi everyone, I know this is off topic, but I was hoping someone could explain this to me. It may be something with php, not sure though. I have this exact code on a regular html file and it works fine, copy paste to php file, and it doesn't work. script language=JavaScript

Re: [PHP] OT-Javascript Question

2003-11-06 Thread Chris Shiflett
--- Jake McHenry [EMAIL PROTECTED] wrote: input type=text name=10_Accounting_Unit size=1 maxlength=1 value={$_SESSION['10_Accounting_Unit']} onKeyUp=movefocus(10_Accounting_Unit,11_Accounting_Unit,1); This looks like you're trying to go in and out of PHP mode without using ?...?, ?php...?,

Re: [PHP] OT-Javascript Question

2003-11-06 Thread Jake McHenry
06, 2003 12:16 PM Subject: Re: [PHP] OT-Javascript Question --- Jake McHenry [EMAIL PROTECTED] wrote: input type=text name=10_Accounting_Unit size=1 maxlength=1 value={$_SESSION['10_Accounting_Unit']} onKeyUp=movefocus(10_Accounting_Unit,11_Accounting_Unit,1); This looks like you're

Re: [PHP] OT-Javascript Question

2003-11-06 Thread Jake McHenry
Will I have to change my entire page format? As I said, right now it's all being echo'd Jake - Original Message - From: Chris Shiflett [EMAIL PROTECTED] To: Jake McHenry [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, November 06, 2003 12:16 PM Subject: Re: [PHP] OT-Javascript

Re: [PHP] OT-Javascript Question

2003-11-06 Thread Jake McHenry
] To: Jake McHenry [EMAIL PROTECTED] Sent: Thursday, November 06, 2003 3:30 PM Subject: Re: [PHP] OT-Javascript Question You're fine to echo the whole thing, but remember that php happens before the page is ever created (server side as opposed to client side) whereas javascript happens after

Re: [PHP] OT-Javascript Question

2003-11-06 Thread Marek Kilimajer
Jake McHenry wrote: I got everything working now. For some reason when I put it inside php, it wouldn't work with my variables with the numbers in front (1_Accounting_Unit) so I renamed all of them with the number at the end and they work fine. Jake The reason is here, notice the second paragraph:

[PHP] OT - javascript question..

2002-07-29 Thread Kelly Meeks
Sorry for the off topic post, but this is by far the most experienced list I've found. I've got a php page that show all the .gif and .jpeg files in an directory via a form based drop down menu. On the same page, I've also got a link that opens a new window, and allows the user to upload an

Re: [PHP] OT - javascript question..

2002-07-29 Thread Martin Clifford
?php echo body onunload=\opener.window.location='$PHP_SELF';\\n\n; ? Something similar will work fine. Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/ Kelly Meeks [EMAIL PROTECTED] 07/29/02 04:00PM Sorry for the off topic

Re: [PHP] OT - javascript question..

2002-07-29 Thread Justin French
Yes, this is way OT you can refer back to the original window with opener (or it may me window.opener) I used it once to change the location of the parent window with something like: SCRIPT language=JavaScript !-- function blah(url,close) { opener.location = url; window.close();

Re: [PHP] OT - javascript question..

2002-07-29 Thread Justin French
on 30/07/02 6:11 AM, Martin Clifford ([EMAIL PROTECTED]) wrote: ?php echo body onunload=\opener.window.location='$PHP_SELF';\\n\n; ? Something similar will work fine. Wouldn't the $PHP_SELF be that of the popped-up window, not of the opener? Justin French -- PHP General Mailing