Popup window and query string

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
eyespark
Forum Commoner
Posts: 50
Joined: Tue Jan 24, 2006 7:36 am

Popup window and query string

Post by eyespark »

Hi guys, I need your help.

I have a form with 2 inputs – date1 and date2. Dates are in the format YYYY-MM-DD. When this form is submited, a new popup window should open. URL of this popup must have 2 parameters – date1 and diff (the diference in days between date2 and date1). Any suggestions?

Thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

The URL it goes to could contain the date information. The requested script could then produce the desired output; although I don't really see the need for this being a popup.
Post Reply