php - How to debug ajax response in firebug -


my function when function call @ time it's automatically refresh page can not see response in firebug function working can't see output in firebug

<script> function getqty(itemid) {   var datastring = "itemid=" + itemid;    $.ajax({     type:"get",     url:"allqty.php",     data: datastring,     success:function(data)     {       $('.totalqty').html(data)     }   }); } </script> 

here call function

<a href="screen.php?{$a}&itemid={$itemarray[sec].itemid}" class="btn itemid" id="{$itemarray[sec].itemid}" name="itemid" onclick="getqty(this.id);">{$itemarray[sec].itemnm}</a> 

set "persist" on in network tab in firebug or "preserve log" in chrome


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -