0

I am getting error like "Object doesn't support this property or method" in IE only, when I use window.dialogArguments method. It's working fine in the remaining browsers (Mozilla, Chrome).

Sample code:

if(window.navigator.appName=="Microsoft Internet Explorer"){     
   window.dialogArguments.setCopyFromValues(segmentCode,segmentName,status);        
   window.close();
}

I am getting error window.dialogArgument place.

5
  • What's with the double {{ and }}?
    – Cerbrus
    Nov 3, 2015 at 11:04
  • @justcurious: Never fix the OP's code in edits.
    – Cerbrus
    Nov 3, 2015 at 13:51
  • @Cerbrus: Got it. OP's code originally contained an unwanted '}'. That's why removed it. Btw, what you have edited now is not OP's original code. See the revision. Nov 3, 2015 at 13:58
  • I see... Your edit introduced that mistake...
    – Cerbrus
    Nov 3, 2015 at 14:08
  • For the record, my edit didn't introduce any mistake in the code. Anyone looking correctly at the revision can understand it clearly. Having said that, I don't want to go into argument mode and spam this question with unwanted comments. Your point is not to edit OP's code and I clearly get it and will consider it gng frwd. Thanks! Nov 3, 2015 at 20:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.