Yesterday I spent two hours analyzing this issue, which of course I had only with Internet Explorer…
As the background: I wrote a library that would make a table sortable and paginable. I decided to use prototype.js and script.aculo.us. I tried to test the result not only in Firefox which I use by default, but then I simply forgot… Then, when I run the page I got the error:
Microsoft JScript runtime error: Object doesn’t support this property or method.
At the end of the day, (after cutting JavaScript files into slices) I found the reason. All because I created HTML elements like follows (this example uses Builder of script.aculo.us):
$(this._sPaginationSecId).appendChild(Builder.node('span', { class: 'disabled' }, '<'));
If you look at that closer, you will find out that class is not put inside apostrophes (’).
Important!
Be careful with defining properties like href and class with Builder.node() (of script.aculo.us) and new Element() (of prototype).









I have written an out-proc COM server.
And I have an .htm file (which is there in project since quite a while now) which has the java script in it.
I have declared this com server in the .htm file like this..
where, VFPlugin is my com server.
When I try to call the exported methods in the java script, I get this error saying Microsoft JScript error: Object doesn’t support this property or method”. Could you please explain me why is this?
Basavaraj,
For some reason, your code won’t appear in the comment… I’m not sure why…
Please try again. If it doesn’t appear, probably JS code is not allowed in my Wordpress engine or settings I’ve applied…
Jarek
I’m setting up a password and i have .js file i tried to run it but it said Microsoft JScript run time error