/*Concatenating email to URL for hosted tab*/ var CurrentUrl = window.location.href; debugger; if(CurrentUrl.includes('ecco-with_expence2.jsp',0)) { CurrentUrl.concat('?email='+); } /*Concatenating email to URL for hosted tab*/