K
Kimmo R. M. Hovi
Currently I have defined:
-- clip clip --
<form method="post" action="xx"
enctype="application/x-www-form-urlencoded">
[stuff]
<input type="image" name="Function 1" src="image1.gif" border="0"
title="1">
<input type="image" name="Function 2" src="image2.gif" border="0"
title="2">
[and so on]
</form>
-- clip clip --
So, it's a basic toolbar with images. Now, a need has arisen to
make available functionality, through a clickable image, that would
open a pop-up window (with a form, which will submit the window.opener's
form) without submitting the original form [Until an option is selected in
the popup].
How exactly should I go about this? the basic <input type=image> will
submit the form when clicked even if the onclick is defined.
I know of the onsubmit parameter in the <form> tag, but how would I
go about stopping the submission when this particular image is clicked?
If it's possible to make this happen with a non-input tag, that'll be
acceptable too.
The "supported" browser is IE5.5+
-- clip clip --
<form method="post" action="xx"
enctype="application/x-www-form-urlencoded">
[stuff]
<input type="image" name="Function 1" src="image1.gif" border="0"
title="1">
<input type="image" name="Function 2" src="image2.gif" border="0"
title="2">
[and so on]
</form>
-- clip clip --
So, it's a basic toolbar with images. Now, a need has arisen to
make available functionality, through a clickable image, that would
open a pop-up window (with a form, which will submit the window.opener's
form) without submitting the original form [Until an option is selected in
the popup].
How exactly should I go about this? the basic <input type=image> will
submit the form when clicked even if the onclick is defined.
I know of the onsubmit parameter in the <form> tag, but how would I
go about stopping the submission when this particular image is clicked?
If it's possible to make this happen with a non-input tag, that'll be
acceptable too.
The "supported" browser is IE5.5+