Welcome Guest, Not a member yet? Register   Sign In
Jquery ajax request works in some pages and in others it doesnt
#14

[eluser]iceuser[/eluser]
[quote author="Matalina" date="1340918968"]What is this suppose to do?

Code:
success: function(data)
            {
                alert( "SUCCESS" );
                $(".page").html(data.html);
            }

What it looks like to me is that it is suppose to print "data.html" to the .page object in your DOM.[/quote]

when the ajax request is completed successfully, it simply adds the comments that it fetches from the ajax query into the .page container... i don't see anything wrong here...


Messages In This Thread
Jquery ajax request works in some pages and in others it doesnt - by El Forum - 06-28-2012, 02:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB