Jquery Popup ERROR RRS feed

  • Question

  • User406909300 posted
    <script>$(function() {$( '#dialog' ).dialog();});</s

    This Error Comes When I Run in Project


    If I Run As Separate Application There Is No Error. and Popup Comes.

    Any Help ?

    Wednesday, December 7, 2016 6:23 AM

All replies

  • User-6180675 posted

    Can you show your project code and the detail exception where you are getting the exception.

    Wednesday, December 7, 2016 10:25 AM
  • User-1838255255 posted

    Hi mansoor.live,

    According to error message, as far as I know,

    1.  it is maybe caused by don't add necessary file, browser can not find dialog method, So cause this issue. So you need check the following file if be added.

    <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
        <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
        <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>

    2. you need check if exist element that ID=dialog.

    If this reply can not solve your problem, please post your project code!

    Best Regards,

    Eric Du

    Wednesday, December 7, 2016 12:32 PM