- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Can you try changing your code to this one?.
function updateTrackingTag() {
var TrackingTag = document.controller.getValue('/ctx/vars/trackingtag');
if (TrackingTag != "" || TrackingTag != undefined || TrackingTag != null) {
document.controller.setValue('/ctx/vars/trackingtag', TrackingTag);}
else {
document.controller.setValue('/ctx/vars/trackingtag', location.search);}
}
I am assuming it is not working because of data type issue.
Thanks,
Manoj
Views
Replies
0 Likes
Total Likes