This is driving me batty and I simply cannot find a workaround...
I need a button inside a form which call a Javascript function to confirm the user's choice, then redirect the browser page. Ideally I'd like am IMAGE button but at this point, I'd take just about anything.
Since the redirect seems to be the issue and calling it directly from the button produces the same result, I've simplified the problem to the example below:
<form>
<table border=0 cellpadding=0 cellspacing=0 width=100%>
<tr>
<td width=22 align= align="center"><input type="checkbox"></td>
<td width=22 align= align="center">
<input type="image"
name="delete"
src=" onClick="javascript:window.location='http:\\ - no redirect.</td>
</tr>
</table>
</form>
The example is currently running at
I have tried this using both a standard INPUT TYPE="button" and a text link with an onClick action and both those methods almost work, but append the redirect URL to the server's root url, i.e.
Would appreciate any help with this!
I need a button inside a form which call a Javascript function to confirm the user's choice, then redirect the browser page. Ideally I'd like am IMAGE button but at this point, I'd take just about anything.
Since the redirect seems to be the issue and calling it directly from the button produces the same result, I've simplified the problem to the example below:
<form>
<table border=0 cellpadding=0 cellspacing=0 width=100%>
<tr>
<td width=22 align= align="center"><input type="checkbox"></td>
<td width=22 align= align="center">
<input type="image"
name="delete"
src=" onClick="javascript:window.location='http:\\ - no redirect.</td>
</tr>
</table>
</form>
The example is currently running at
I have tried this using both a standard INPUT TYPE="button" and a text link with an onClick action and both those methods almost work, but append the redirect URL to the server's root url, i.e.
Would appreciate any help with this!