EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: baxter on January 26, 2013, 06:07:13 PM



Title: Problem after change of jquery 1.8.0
Post by: baxter on January 26, 2013, 06:07:13 PM
After change of jquery 1.8.0 i have a problem with the function getEditor.

I read a change after a line edit in datagrid with the follow code:

Code:
function saverow(index){
    var nameEditor = $('#servicegrid').datagrid('getEditor',{ index:index, field:'dict' });
    var nameValue = $(nameEditor.target).val(); // get name field value

    console.log(nameValue)
}
When i save the line, i become the error:

Uncaught Error: Syntax error, unrecognized expression: ://develop/manage/#

Have anybody a tip for me? In the older version of jquery the function works fine....

Thanks
baxter