Welcome Guest, Not a member yet? Register   Sign In
CI form validation witth jquery .ajax and contentType
#1

[eluser]Unknown[/eluser]
Hi,

I have a form in a jquery dialog modal. I'm ajax posting this to my controller which does a CI form validation and responds back. I noticed IE9 wasn't working when pressing the submit button however FireFox was fine. I found a suggestion that said to try adding "contentType: "application/json; charset=utf-8" - I did this and it appears to submit properly now, but my CI form validation doesn't seem to work at all. If I rem it out, it works again in FF.

Does anyone have any suggestions on what could be the issue?




Theme © iAndrew 2016 - Forum software by © MyBB