joevasquez / jquery-datatables-editable

Automatically exported from code.google.com/p/jquery-datatables-editable
0 stars 0 forks source link

Error Handling in Internet Explorer #139

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. return "ERROR unable to update your entry" from controller
2. In template call method "fnShowError" and write function for this with two 
input variable (errorText, action)
3. This function is not called in Internet explorer rest all browser its work 
fine.

             fnShowError:   function(errorText, action){
                                var Div = $('div#error');
                                if(!Div.hasClass('server_error_display1')){
                                  Div.addClass('server_error_display1');
                                }
                                Div.text(errorText).show().delay(10000).fadeOut();

how to call this function while error in IE.

Original issue reported on code.google.com by CDTiw...@gmail.com on 23 Nov 2012 at 4:22