Welcome Guest, Not a member yet? Register   Sign In
jquery datepicker stops working with JSON
#1

[eluser]jvk22[/eluser]
I'm passing a form to my script via JSON and it works fine, except for the jquery datepicker stops working

Code:
$("#new_task").live('click',function(){

  show_add_task();

});


Code:
function show_add_task()
{
  $.ajax({
             type: "POST",
             url: "tasks/ajax_show_add_task",
             data: {
              'submit':'submit',
              },
             cache: false,
             dataType:'json',
             success: function(msg) {

     $(".add_task").html(msg.message);
     $(".add_task").show();
             }
         });
}




Theme © iAndrew 2016 - Forum software by © MyBB