<html> <head> <script type="text/javascript"> function appendkeycode() { window.location.href="https://tools.aaa.com/gdrp/coiga/showsurvey.do?surveyCode=7189&keyCode=000038167&gId=#pf:CONTACT_ID#"; // Declare Variables var linkurl = 'https://secure.lomadee.com/at/actionlog'; var linktext = '&adv=5742&country=AR&event=12583'; var adminkeycode='000056432' var KeyCode_pattern= /^[0-9]{9}$/ var pageurl = window.location.href; var KeyCode=""; if(pageurl.indexOf("KeyCode=")!= -1) { KeyCode=pageurl.substr(pageurl.indexOf("KeyCode=")+4); var checkextraval = KeyCode.search("&"); if(checkextraval != -1) KeyCode=Keycode.split("&")[0]; window.location.replace(linkurl + '?transaction=' + KeyCode + linktext ); } } </script> </head> <body> <input type="button" id="btnClk" value="Register Now" önClick=appendkeycode()> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)