Welcome Guest, Not a member yet? Register   Sign In
[Newbie] Need help to display results.
#5

(This post was last modified: 03-11-2020, 10:25 AM by jvandemerwe.)

Code:
<script>
$("button").click(function(){

Are you sure that you should not have a ready in your JavaScript?

Code:
$(document).ready(function () {
 
    $("button").click(function(e) {
      e.preventDefault();
     
      ... etc ...

    });

});

You could put a var_dump('<pre>', $queryResult, '</pre>') in your model to see if you have any records. Even when using Ajax the browser will show the result for test.
Reply


Messages In This Thread
RE: [Newbie] Need help to display results. - by jvandemerwe - 03-11-2020, 10:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB