Effect not working in ajax call -
i have code in ajax:
$.ajax({ url : "<?php echo site_url('user/add'); ?>", type : 'post', data : form_data, success : function(msg) { $('#bid-form-part').html(msg).effect("pulsate", { times:3 }, 2000); } });
it shows html have send via ajax. thats fine, effect pulsate not working @ ;)
any suggestion doing wrong?
i want new content blink once or few times, code must wrong or something.
thanks in advance.
according jquery api, there isn't function called effect, try replacing few fade outs , fade ins see if work instead?
e.g.
$('#bid-form-part').html(msg).fadeout(200).fadein(200).fadeout(200).fadein(200).fadeout(200).fadein(200);
its bit long winded, allows see if going work!
i have used comment, apparently rep isn't high enough :d
Comments
Post a Comment