Hi Victor,
I followed your codes, but my javascript function which I put in the View file is not functioning as expected.
When I changed the value of a field and move the focus out of the field, the screen refreshed, but the edited value is not saved into the database. The refreshed screen will show the same value as before.
Can you explain more on the line "$.post('admin/article/sort',data, function(data)"?
What is "admin/article/sort"? Is "admin" the controller class, "article" the function, and I should change "sort" to "edit"?
Is there anyway to pass the value by variable (such as $state_url in libraries/Grocery_GRUD.php) instead of hardcoding the path?
How to handle if I make use of one URL parameter to run my script?
My URL is like this: http://10.10.10.10/project/index.php/main/setitem/123456
I use $crud->where in my script so that the table will only show all records belong to "123456" only. How to code this variable into the JS script?
Thanks.