0

ページに jQuery があり、エラーが発生し続けます。

SyntaxError: missing : after property id

コード

        <div id='content1'  >
<script type="text/javascript">
    $(document).ready(function () {
        var theme = getDemoTheme();
        var source = [
            "Suppliers",
            "Global Networks",
            "Supplier Networks",
            "Supplier Prices",
            "Supplier Data Import",
            "Supplier Target Price Export"
        ];
        // Create a jqxDropDownList
        $("#jqxWidget1").jqxDropDownList({ source: source, selectedIndex: 0, width: '200',margin-top:'0px', height: '25', theme: theme });
    });
</script>
<div id='jqxWidget1'>
</div>

Firebug は、次の行にあると言っています。

4

1 に答える 1