Skip to content
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
@qpi

Description

@qpi

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions