[jQuery] Re: Getting PHP_REFERER value from jQuery

2007-11-09 Thread Theodore Ni
I've always wondered why only Javascript spells it right. On Nov 8, 2007 6:21 PM, Aaron Porter [EMAIL PROTECTED] wrote: How about document.referrer? :) Aaron ElTibetano wrote: Hi, maybe someone can help me on this: I'm using jqModal plugin to open a form from different pages, that

[jQuery] Re: Getting PHP_REFERER value from jQuery

2007-11-09 Thread ElTibetano
Thanks very much Aaron! I followed your tip, but realized that when the jqModal window is opened it does not alter the document.referrer value, so it still points to the previous page, so I've been testing using document.location and document.title to get the values I've needed. Thanks again!

[jQuery] Re: Getting PHP_REFERER value from jQuery

2007-11-08 Thread Glen Lipka
Can it be passed in the URL as a parameter? Or can you use Ajax to get it from a specialized php page? Glen On Nov 8, 2007 12:24 PM, ElTibetano [EMAIL PROTECTED] wrote: Hi, maybe someone can help me on this: I'm using jqModal plugin to open a form from different pages, that will end up

[jQuery] Re: Getting PHP_REFERER value from jQuery

2007-11-08 Thread Aaron Porter
How about document.referrer? :) Aaron ElTibetano wrote: Hi, maybe someone can help me on this: I'm using jqModal plugin to open a form from different pages, that will end up sending a mail. Is there a way to know from which page the form was opened? something like the PHP_REFERER variable.