This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 8 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Ajax Problem Posts
  • Ajax Problem #85280

    joko.pitoyo
    Participant

    Hello,

    Why my code not work:

    //Javascirpt code

    $(“#container”).load(“php_script/page_input.php”,function(){
    $(“#nopol”).jqxInput();
    //above selector error VM584:3 Uncaught TypeError: $(…).jqxInput is not a function
    });

    // php code

    <table>
    <tr><td>No.Pol</td><td>:</td><td><input type=”text” id=”nopol”/></td></tr>
    <tr><td>Tanggal</td><td>:</td><td> <input type=”text” id=”tgl_lp”/></td></tr>
    </table>

    I have include my head tag:
    <link rel=”stylesheet” href=”js/jqwidgets-ver4.1.2/jqwidgets/styles/jqx.base.css” type=”text/css” />

    <script type=”text/javascript” src=”js/jqwidgets-ver4.1.2/scripts/jquery-1.11.1.min.js”></script>
    <script type=”text/javascript” src=”js/jqwidgets-ver4.1.2/jqwidgets/jqxcore.js”></script>
    <script type=”text/javascript” src=”js/jqwidgets-ver4.1.2/jqwidgets/jqxinput.js”></script>

    Ajax Problem #85295

    Hristo
    Participant

    Hello joko.pitoyo,

    This error looks like wrong references and rather lacking.
    Please, check this.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.