hi! i m trying to use ajax to delete a checked row in a table and also update it in database?
it shows type mismatch. it came at the line, xmlHttp.onreadystatechange= function(){ stateChanged(); } .i have changed the statement to add function(){ } as i found it would solve the error. Even after the error is gone, the table is not updated
This is likely a problem with your server side script, not your Javascript.
I recommend using an ajax library, either one that comes with a full Javascript library like prototype or jQuery, or a standalone one. It makes your ajax code




