You need to sign in to do that
Don't have an account?
Unterminated string constant error in IE
Hi i am uisng showModalDialog to get a value from child window in the code shown below,
var popupstyle = "center:yes;resizable:no;dialogHeight:600px;dialogwidth:600px";
var acc = window.showModalDialog("/apex/CustomAccountLookup",null,popupstyle);
but its showing error like "Unterminated string constant " in IE
How to resolve it, Please guide me.
Hi Vasu
You can use it window.showModalDialog() like following:
Alternative solution is window.open
window.showModalDialog("/apex/page?id={!Account.Id}","test", "dialogWidth:750px; dialogHeight:550px; center:yes");