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

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -