[thelist] JavaScript: Passing form fields to popup NOT through URL

Jeff Howden jeff at jeffhowden.com
Thu Jul 10 10:50:01 CDT 2003


kyle,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Kyle Murphy
>
> Here's my scenario.  I have a button on my page that
> opens up a popup window & passes two URL variables
> (checknums & payrollnums).  Problem is, these variables
> end up being too long for the 2,084 characters that IE
> allows in a URL, so some get left off (or I get an
> error).
>
> So, I need a way to pass those variables over to the
> popup, but not through the URL.
>
> I have been told to do the following through
> JavaScript:
> 1.) Open the popup window
> 2.) Set form variables in the opener
> 3.) Set form's target to popup
> 4.) Submit form.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

http://evolt.jeffhowden.com/jeff/code/form_to_window/index.cfm

enjoy,

.jeff

——————————————————————————————————————————————————————
Jeff Howden - Web Application Specialist
Résumé - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/




More information about the thelist mailing list