Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SCRIPT5022: Element "source" does not have either property: href, src, action jquery.URI.js, line 131 character 9 #69
I am sort of at a loss on this one.
I am using IE9. Browser mode: IE8. Document Mode: IE8 standards
The files are included in the following order:
If I include "jquery.URI.js" in my html page, I get the following error:
There are no references to using the URI plugin on the page in question, or any files that includes, so I assume it is something to do with the way jquery.URI.js initializes itself.
Okay. So I found out what is going on I think.
The problem is coming from jquery.URI.js here:
I am creating an html5 video like this:
This doesn't do much in IE8, but I handle the IE8 video with flash player. However, jquery.URI.js appears to be intercepting the attr call and then it throws an error because IE8 doesn't know anything about the source element.
Is there anything I can do besides wrapping any attr call on an html5 element in a try block? (hope I don't need to do that because that will be a lot of extra typing)
When I used the build option on your main page, I got a very similar error.
Disabling the inclusion of the jQuery plugin and rebuilding removes this error. I don't need the integration, so this is just a heads up for you.