Welcome Guest, Not a member yet? Register   Sign In
JQuery & AJAX & IE Div Caching...
#4

[eluser]internut[/eluser]
Think I just got it with:

Code:
[removed]
$(function(){

  $('#submit').click(function(){

    $.ajax({
      cache: false,
      type: 'POST',
      url: 'index.php?/messages/add',
      dataType: 'html',
      data: { message: $('#message').val(), age: $('#age').val() },
      success: function(data){
        $("#content").load("index.php?/messages/view/"+ new Date().getTime());
      },
      error: function(){
        alert("An error has occurred. Please try again.");
      }
    });
    return false;
  });

   $("#content").load("index.php?/messages/view/");

});
[removed]


Messages In This Thread
JQuery & AJAX & IE Div Caching... - by El Forum - 05-29-2009, 10:47 PM
JQuery & AJAX & IE Div Caching... - by El Forum - 05-29-2009, 10:59 PM
JQuery & AJAX & IE Div Caching... - by El Forum - 05-29-2009, 11:09 PM
JQuery & AJAX & IE Div Caching... - by El Forum - 05-29-2009, 11:14 PM
JQuery & AJAX & IE Div Caching... - by El Forum - 05-29-2009, 11:40 PM
JQuery & AJAX & IE Div Caching... - by El Forum - 05-29-2009, 11:52 PM
JQuery & AJAX & IE Div Caching... - by El Forum - 05-30-2009, 12:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB