Issue in redirect th link in the portal page
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 09:06 PM
HI All,
when i will put only one bangalore location it is redirect the correctly in the portal page
example :
if(sysId == "3423f73997b4561007a1b73de053af66") { //Hardcoded Bangalore location
alert("selected Bangalore location");
setLink2(sysId);
setUrl2(sysId);
} else {
alert("selected another location");
setLink(sysId);
setUrl(sysId);
}
if(sysId == "3423f73997b4561007a1b73de053af66") { //Hardcoded Bangalore location
setLink2(sysId);
} else {
setLink(sysId);
}
function setLink2(id) {
//alert(queueLink + '2&location_id=' + id);
c.queueLink = '?id=walkup_queue_on_site_2&location_id=' + id;
c.checkInLink = '?id=walkup_check_in_raj&location_id=' + id;
c.surveyLink = '?id=walkup_survey_2&location_id=' + id;
}
//alert(queueLink + '2&location_id=' + id);
c.queueLink = '?id=walkup_queue_on_site_2&location_id=' + id;
c.checkInLink = '?id=walkup_check_in_raj&location_id=' + id;
c.surveyLink = '?id=walkup_survey_2&location_id=' + id;
}
above script is working correctly for the one location when i will another location with OR condition "0b83c4e89701121007a1b73de053af34" for america location it is not working , can you give me the correct code it is going to another location in the alert message.
Thanks and Regards,
Chandan
@Sid_Takali : can you help me
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2024 11:24 PM