Hi,
Just wondering if anyone knows how to do this - Basically, I'm trying to make a page, which lets you open a new "window" , to preview how the details you are about to submit, will look on the live site.
ATM, I have:
<center><input type="submit" value="Update Listing" name="add" class="button" />
<input type="button" value="Preview" name="preview" class="button" onclick="window.open('/cgi-bin/page.cgi?p=preview','Preview','width=800,height=800,left=0,top=100,screenX=0,screenY=100')" />
<input type="reset" value="Reset" name="reset" class="button" /></center>
Now, what I need - is that when this page is clicked, the details are passed along to /cgi-bin/page.cgi?p=preview
There are a LOT of fields (about 30 of them, and a lot are long HTML strings, so I would imagine doing a list of all the values via a URL string wouldn't be very praticle/simple to do)
Obvioulsy I can't just do a normal "submit" - as this would submit the data into the script (and thus would be updated) - does anyone know of a way I can work around this?
TIA!
Andy
Just wondering if anyone knows how to do this - Basically, I'm trying to make a page, which lets you open a new "window" , to preview how the details you are about to submit, will look on the live site.
ATM, I have:
<center><input type="submit" value="Update Listing" name="add" class="button" />
<input type="button" value="Preview" name="preview" class="button" onclick="window.open('/cgi-bin/page.cgi?p=preview','Preview','width=800,height=800,left=0,top=100,screenX=0,screenY=100')" />
<input type="reset" value="Reset" name="reset" class="button" /></center>
Now, what I need - is that when this page is clicked, the details are passed along to /cgi-bin/page.cgi?p=preview
There are a LOT of fields (about 30 of them, and a lot are long HTML strings, so I would imagine doing a list of all the values via a URL string wouldn't be very praticle/simple to do)
Obvioulsy I can't just do a normal "submit" - as this would submit the data into the script (and thus would be updated) - does anyone know of a way I can work around this?
TIA!
Andy