[jQuery] Handling errors when ajax returns html

2008-06-06 Thread sparkpool
I have some server-side code that responds to certain ajax requests by returning the html of new rows to insert into an existing table. This works really well, but I've been thinking about ways to handle errors on the server side. By errors I mean both actual bugs, and business rule violations

[jQuery] Handling errors when ajax returns html

2008-06-05 Thread sparkpool
I have some server-side code that responds to certain ajax requests by returning the html of new rows to insert into an existing table. This works really well, but I've been thinking about ways to handle errors on the server side. By errors I mean both actual bugs, and business rule violations

[jQuery] Handling errors when ajax returns html

2008-06-05 Thread sparkpool
[Apologies if this shows up twice; didn't see it after 5 hours+, sending again] I have some server-side code that responds to certain ajax requests by returning the html of new rows to insert into an existing table. This works really well, but I've been thinking about ways to handle errors on