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! > >