jquery post to php call back problem -


This is killing with jQuery

When I click the user on the dib layer, I am trying to show a set of results of DB, the function reaches, but the results of the PHP file in the DP results will not return. any idea?

  & lt; Script type = "text / javascript" & gt; $ (Document) .ready (function () {$ ('# clickme'). Click (function () {// alert ('clicked'); $ .get ("doquery.php", {id: 1, Action: all}, function (result) {$ ("# result"). Html (results);});});}); & Lt; / Script & gt; & Lt; Div id = "clickme" & gt; Show results & lt; / Div & gt; & Lt; Div id = "result" & gt; & Lt; / Div & gt;  

I suspect that the PHP page returns an error of some type $ . The callback of is successfully executed ("200 OK").

To execute callback on all types of HTTP response status values, enter the code> $ Ajax () .


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -