- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I’m using
A Jquery plugin from
http://wenzhixin.net.cn/p/multiple-select/docs/
to display multiple selectable dropdowns inside of a stored process displayed in a web url portlet.
Everything runs fine in Chrome and Firefox.
The plugin runs fine without using it nested in SAS.
When I run it in the portlet in Internet Explorer 11 I receive:
Error: Object doesn't support property or method 'addEventListener'
This appears to be a compatibility issue. Is there a known issue with Jquery + SAS + IE 11?
My SAS Platform is 9.2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I think this error is specific to IE 11 and to solve it you need to use compatible mode.
To force IE compatibility mode on the user use this code in the master page:
<META http-equiv="X-UA-Compatible" content="IE=9">
A few foruns refer that we should use :
<meta http-equiv="X-UA-Compatible" content="IE=edge;" />
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
What is the master page? If I am displaying a stored process inside of a web url portlet? If I add either compatibility mode line SAS seems to strip it out. When you view the source the compatibility line is not in the head section of the code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
That's a good point that I didn't notice in the original message.
I think in the URL display portlet what you get is your content inside an iframe, and I think that IE does not allow mixing IE modes in a frame hierarchy.
How about setting the browser in compatibility mode just for check if it solves.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Since it is a stored process knowing what to add to the compatibility list is confusing
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Yes, you are right. And probably the only way is to add the SASPortal causing other problems.
And since adding this to you page didn't worked:
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge;" />
</head>
<body>
...
</body>
</html>
Probably the only way to fix it is digging in the plugin code to add the event listener according to the IE version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi David,
Does the stored process fail to render in the same way when you load it directly in IE11, or is it only when you display it inside a URL display portlet?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Not sure how I could display it without showing it in the portlet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Display using the SAS Stored Process Web Application. (/SASStoredProcess)
It solves the STP withou any iframe I think.
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
David,
I am facing same issue with JQuery + SAS + IE 11 when tried to have multiple selectable dropdowns inside of a stored process displayed in a web url portlet with SAS 9.4. .
Even though I added below given code for my HTML generating Stored process I am still getting same error Object doesn't support property or method 'addEventL
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
Did you fix the issue with your application? If yes , could you please share the solution for this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I don't think this has anything to do with SAS.
Could try a polyfill, but - what version of JQuery are you running?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
This issue seems to be related with below given note :
http://support.sas.com/kb/55290
As Portal is supporting IE 7 features only , I cannot use jquery based application in my portlets. I have to use direct link and per Tech Support reply there is no work around for it.