I am a long-time, generally very happy user of Prototype. I recently switched to jQuery because of the massive community support, basically amounting to a unanimous choice and de facto industry standard. Since then I have not been so happy. Yes, I have read the comparison threads, and I can live without the handful of ported Ruby/Rails convenience functions, like first()
, last()
, inspect()
, collect()
etc, and I get re-familiarize myself with the select syntax and even have to agree it can be powerful. But I have to say I am hung up on the lack of error callbacks for $.post()
, $.get()
, and even the whole form plugin?!
Is the standard in jQuery really to use the barebones ajax method whenever you need an error callback? My ajax form handlers are 20-25 lines long now when they used to be 5-10. Is it really advisable not to have error callbacks in a real web application? Or am I missing something?