Side navigation
#5836 closed bug (worksforme)
Opened January 16, 2010 11:02AM UTC
Closed June 14, 2010 12:09AM UTC
1.4 throws exception when selecting custom tag in IE
| Reported by: | mike_t2e | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.4.1 |
| Component: | selector | Version: | 1.4 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
I've an HTML page with custom tags in it that I need to get the .html() of. The following works in IE using 1.3.2, but in 1.4 gives a "Exception thrown and not caught" error. Using the 1.3 compat file doesn't make a difference either.
(If there's a better way to do what I'm trying to do please feel free to let me know!)
<!DOCTYPE HTML internal "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:mycustomtag="">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script language="javascript">
$(document).ready(function() {
alert($("default//:mycustomtag").html());
});
</script>
</head>
<body>
<mycustomtag:default>custom tag</mycustomtag:default>
</body>
</html>
Attachments (0)
Change History (1)
Changed June 14, 2010 12:09AM UTC by comment:1
| component: | unfiled → selector |
|---|---|
| resolution: | → worksforme |
| status: | new → closed |
If the selector is "mycustomtag\\\\:default", which is what I think you meant, it works.