Thursday 15 March 2012

JQuery handler can't access data after Ajax function -


I used a javascript to update and manage data using $ .jax ({}) and external php scripts The object is created. When the object is called then the table element is returned from the object, which has many hidden trays (using the "hidden" square, which is set to display: none).

The display function inside the object is:

  this.displayData = function (location_div) {var location_div = location_div; $ .ajax ({url: "display_data.php", type: "post", success: function (response) {$ (location_div). Html (feedback);}, error: function (response) {warning ("display Error problems. "+ Response)},}); };   

that displays:

  

No comments:

Post a Comment