i write this function the problem is when i calll it in an xslt file it runs without stop any idea what to do to return a value so it can run only once when i click into the link and not to run and do replace from th begining
Code:function showAccessibleVersion(){ var location=window.location.href.replace("&accessibility=true","").replace("?accessibility=true","").replace("&accessibility=false","").replace("?accessibility=false",""); location+=location.substr(window.location.href.length-5,5)=='.aspx' ? '?accessibility=true':'&accessibility=true'; window.location.href = location; }
thanks in advance
csst9746



Reply With Quote

Bookmarks