Welcome Guest, Not a member yet? Register   Sign In
JS nightmares
#5

[eluser]k7faq[/eluser]
@umefarooq,

Thank you for the information.

Would you mind pointing me in a direction to understand the following?

Using Firebug I can see that AJAX has Posted the data to the CI controller. The controller has responded with a $data array. I see both the Post and Response in Firebug.

What I am stuck with is getting this data to display on the screen.

on the page I have:
<div id="result"></div>

in the [removed]
$.ajax({
type : "POST",
url : "site url to controller/function",
data : "&coords;=" + boxes,
dataType: "json",
success: function(data){$("#result").html(data);}
});

What am I not understanding?

Thank you!


Messages In This Thread
JS nightmares - by El Forum - 12-26-2010, 10:06 PM
JS nightmares - by El Forum - 12-26-2010, 10:19 PM
JS nightmares - by El Forum - 12-26-2010, 11:02 PM
JS nightmares - by El Forum - 12-27-2010, 01:13 AM
JS nightmares - by El Forum - 12-27-2010, 10:37 PM
JS nightmares - by El Forum - 12-27-2010, 11:08 PM
JS nightmares - by El Forum - 12-28-2010, 09:08 AM
JS nightmares - by El Forum - 12-28-2010, 04:46 PM
JS nightmares - by El Forum - 12-28-2010, 07:49 PM



Theme © iAndrew 2016 - Forum software by © MyBB