EasyUI Forum
October 04, 2025, 10:35:41 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: Error in save function on: May 22, 2013, 11:49:15 AM
Quote
SyntaxError: syntax error
[Break On This Error]    

(<br>

(line 55, col 1)

Thats what my console said.
Please help
   
2  General Category / EasyUI for jQuery / Error in save function on: May 21, 2013, 12:30:10 PM
Please help, I cant able to save or update any data.
And when I check my firebug console its pointing me on the saveUser function.
Please see the text in yellow.

function saveUser(){
         $('#fm').form('submit',{
            url: url,
            onSubmit: function(){
               return $(this).form('validate');
            },
            success: function(result){
               var result = eval('('+result+')');
               if (result.success){
                  $('#dlg').dialog('close');      // close the dialog
                  $('#dg').datagrid('reload');   // reload the user data
               } else {
                  $.messager.show({
                     title: 'Error',
                     msg: result.msg
                  });
               }
            }
         });
      }
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!