I would like to apply some JQuery’s effects(fadeIn,fadeOut) in my site
while page is loading.
So i tried below code.when i clicking normal request,code is working
fine
But i had problem only when i clicking ajax link.
So i planned to avoid above effects for ajax request.
How to set above effects only for normal request ?
How to set above effects only for normal request ?
Ajax links (via link_to_remote) at least in Rails 2.x set an inline
onclick handler. So either modify your code above to not override those
inline handlers or modify JQuery’s ajax setup to apply your animations
to ajax links as well (perhaps in the beforeSend callback).