| javascript redirect for custom alert
|
designer123

msg:3526488 | 5:08 am on Dec 13, 2007 (gmt 0) | Javascript question – I have a link on my website "click here to purchase" when customer clicks on it he gets a custom alert window saying 'you are going to purchase the item xyz. click on ok to proceed or cancel to cancel'The user should here point to purchase.aspx after clicking on ok. This custom alert points to different locations for different links like purchase.aspx, query.aspx etc for each page custom window. plz tell me how do I write the javascript for the same. here is the sample code <div id="alertcustom"> <p>'you are going to purchase the item xyz. click on ok to proceed or cancel to cancel'</p> <form id="form1" action="#" onsubmit="xyz();"> <input id="OK" class="okbutton" name="OK" value="OK" type="submit" /> <input id="Cancel" class="cancelbutton" name="Cancel" value="Cancel" type="submit" /> </form> </div> Thanks - Vicky....
|
daveVk

msg:3526504 | 6:16 am on Dec 13, 2007 (gmt 0) | Like this maybe? <form id="form1" action="/purchase.aspx?item=xyz" >
|
|
|