D
Don Grover
I hope some one can help, I have a html table that is created with asp that
has a row of repeated buttons down the side.
these call a page passing a query string with invoice number.
I need to get a Java Yes/No dialog up and on yes call the hyperling query
string.
I can do this with a single hyperlink but not passing on the query string
and invnumber
Here is my Response Write link
<a href='trackselinv.asp?noreorder=" & iInvoiceID & "'><img border='0' width
='20' height='20' src='" & sApplicationLoc & "orderinactive.gif' alt='Set
order # " & iInvoiceID & " To NOT RE-ORDER'></a>
Here is my Java but I don't know how to pass on noreorder=MyVar to the
function ?
I think i need to call the function in link and pass on myVar, any help much
appreciated.
<script type="text/javascript">
<!--
function clearcart() {
var answer = confirm("Are you sure you want to Cancel Reordering?")
if (answer){
alert("Cart Cleared!")
window.location = "'trackselinv.asp?noreorder=MyVar";
}
else{
}
}
//-->
</script>
Regards
Don Grover
has a row of repeated buttons down the side.
these call a page passing a query string with invoice number.
I need to get a Java Yes/No dialog up and on yes call the hyperling query
string.
I can do this with a single hyperlink but not passing on the query string
and invnumber
Here is my Response Write link
<a href='trackselinv.asp?noreorder=" & iInvoiceID & "'><img border='0' width
='20' height='20' src='" & sApplicationLoc & "orderinactive.gif' alt='Set
order # " & iInvoiceID & " To NOT RE-ORDER'></a>
Here is my Java but I don't know how to pass on noreorder=MyVar to the
function ?
I think i need to call the function in link and pass on myVar, any help much
appreciated.
<script type="text/javascript">
<!--
function clearcart() {
var answer = confirm("Are you sure you want to Cancel Reordering?")
if (answer){
alert("Cart Cleared!")
window.location = "'trackselinv.asp?noreorder=MyVar";
}
else{
}
}
//-->
</script>
Regards
Don Grover