This repository was archived by the owner on Oct 8, 2021. It is now read-only.
"unexpected end of input" when the jqm is embeded #7300
Closed
Description
When U include the jQuery Mobile library inside script tag:
<script type="text/javascript">
... JQM library code here ...
</script>
it throws an error: unexpected end of input
The problem occurs by this line (in the last 1.4.1):
domain && iframe_doc.write( '<script>document.domain="' + domain + '"</script>' );
After I escape the end script tag like this, it works well:
domain && iframe_doc.write( '<script>document.domain="' + domain + '"<\/script>' );
Metadata
Metadata
Assignees
Labels
No labels