in reply to Re: Re: compress data to pass in url?
in thread compress data to pass in url?
..where '$perl' is your info for that first image, retrieved from your post'ed form via whatever method you love best. The trick to making it work without real data to enter and turning that generic button into a submit button is in your headers javascript section:<form name="image1" id="image1" method="post" action="image_gen.pl"> <input name="button1" type="button" style="HEIGHT: 28px; WIDTH: 120px" + value="View Image 1" LANGUAGE="javascript" onclick="return button1 +_onclick()"> <input type="hidden" name="image_info" value=" $perl "> </form>
Now I'm completely lacking any real javascript knowledge, and I've done scant amounts of web programming, but that's the $3.50 I have to offer your Loch Ness Monster, as unperl as it is.function button1_onclick(){ window.document.image1.submit(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: compress data to pass in url?
by Aristotle (Chancellor) on Jan 18, 2003 at 15:50 UTC |