After submitting insert/update an textbox apears with info/not returning to table
- Single Page
Posted 25 June 2012 - 19:29 PM
First of all I want to thank you for developing this plugin. It's very well documented and it look's great.
I've got only 1 problem. After inserting/updating a record I get an empty page with an textbox. In the textbox there is some information. I've attached an screenshot:
[img]http://www.allanshelpdesk.nl/error.jpg[/img]
Can you help me? What am I missing? Why is it not redirecting to my table?
Best regards,
Allan
Posted 25 June 2012 - 20:35 PM
This simply means that you have a Javascript error BEFORE pressing the submit button. So you have to check your firebug to see what exactly the Javascript error is and figure out the problem.
The most often errors are with a Jquery conflict. Perhaps you already have the jquery loaded in your template. If so you have to add this line of code:
$crud->unset_jquery();
This textarea is on purpose like this as if there is a Javascript error at least the user can save the data. Perhaps it sounds stupid but I wanted to make sure that even the user doesn't have enabled Javascript or there is a Javascript error somewhere at least the user can Create Update and Delete.
Hope it helps
Kindest Regards
Johnny
Posted 26 June 2012 - 17:16 PM
Kind regards,
Allan