⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Gc_dependent_select - ERROR on SAVE AND BACK TO LIST and CI 3.1.2



becino
  • profile picture
  • Member

Posted 22 June 2017 - 18:49 PM

Hi there people!!

 

i using        Gc_dependent_select.php 1.5         and       CI 3.1.2 

but when i push the SAVE AND RETURN TO LIST button, the record is saved but the 

refresh action dont work, i have a Jquery error.

 

Uncaught SyntaxError: Unexpected token < in JSON at position 1
    at JSON.parse (<anonymous>)
    at Function.n.parseJSON (jquery-2.2.3.min.js:4)
    at Object.success (flexigrid-add.js:45)
    at Object.b.success (jquery.form.min.js:7)
    at i (jquery-2.2.3.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-2.2.3.min.js:2)
    at z (jquery-2.2.3.min.js:4)
    at XMLHttpRequest.<anonymous> (jquery-2.2.3.min.js:4)

 

 

Even if i put the jquery 1 included in GroceryCrud i have the same error, what i need to change to get this work!?