Ok, I tried it with and without the + signs and got the same result.
Error code:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Fri, 5 Oct 2012 14:39:57 UTC
Message: Expected ';'
Line: 519
Char: 14
Code: 0
URI: http://houapptst07/floorplan/FloorMgr_Cleaned.asp
Here is the code that is rendered:
Code:
function onCloneFloorObjects()
{
if(!assertLayoutLoaded()) return false;
LINE 519 BELOW
var myvar='"''"'; //I don't know if you need the + signs here if you are echoing in from ASP
if(myvar!=""){ //or if(myvar)
alert(myvar)
formFloorPlan.cloneof.value=fixQuotes(myvar);
}
window.open("Clone.asp",'EditHTML','width=430,height=200,scrollbars=no');
}
Thanks again for your time.
Bookmarks