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! On Nov 8, 8: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 > > 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. > > > Latter, when the mail is being prepared I can access the PHP variable > > with the right value, but I would like to be able to use that value > > before, while the form is being openned in order to add the name of > > the page into it. > > > does it make sense? > > > Thanks in advance!