locked
How do resolve this error “Uncaught TypeError: Object [object Object] has no method 'listview' ”? RRS feed

  • Question

  • User1657665600 posted
    I'm really struggling with knockout js. In my spa, I'm unable to refresh the ul when data are binding from api to ul
    Friday, August 16, 2013 5:56 AM

Answers

  • User1657665600 posted

    Hi all,

              Put given below code after error part in jquery ajax call,

    complete: function () {                 
                $('#ListSearch').listview('refresh');            
        } 

    Important: 1) Don't load jquery after mobile plugin js 2)Don't load any jquery in body selection... Please load the jquery(jquery.min.js,knockout,...) first and then load mobile plugin js

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, August 16, 2013 6:50 AM