showmodaldialog return value undefined across domain
-
Dear All, I have problem , I am trying to use showmodaldialog javascript. it always return undefined if you call page from out of domain,while if try to call page inside domain will return result
Yes. CreatiVity withOuT limiTs
-
Dear All, I have problem , I am trying to use showmodaldialog javascript. it always return undefined if you call page from out of domain,while if try to call page inside domain will return result
Yes. CreatiVity withOuT limiTs
-
You can't use AJAX across domains. If this script is using AJAX under the covers then it won't work with a cross-domain URL.
No I am just call from site ZZZ var dlgResult = showModalDialog("YYYYY.aspx", '', "dialogWidth:880px;dialogHeight:400px;status:1"); In site YYYYY YYYYY.aspx return
function ExitPage(UserName,CardSerial)
{
var dlgResult = new Array();dlgResult\["UserName"\] = UserName; window.returnValue = dlgResult; window.close(); }
but alway return undefined I test same procedure in pages in save domain ZZZ ,and return correct result
Yes. CreatiVity withOuT limiTs
-
Some Javascript and Jquery in same domain only, like $.AJAX You would have to post code for a better anwser