{"action":"created","issue":{"url":"https://api.github.com/repos/guillaumepotier/Parsley.js/issues/826","labels_url":"https://api.github.com/repos/guillaumepotier/Parsley.js/issues/826/labels{/name}","comments_url":"https://api.github.com/repos/guillaumepotier/Parsley.js/issues/826/comments","events_url":"https://api.github.com/repos/guillaumepotier/Parsley.js/issues/826/events","html_url":"https://github.com/guillaumepotier/Parsley.js/issues/826","id":54576108,"number":826,"title":"Submit Button Value not being submitted due to Parsley","user":{"login":"fabianabela","id":9037671,"avatar_url":"https://avatars.githubusercontent.com/u/9037671?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianabela","html_url":"https://github.com/fabianabela","followers_url":"https://api.github.com/users/fabianabela/followers","following_url":"https://api.github.com/users/fabianabela/following{/other_user}","gists_url":"https://api.github.com/users/fabianabela/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianabela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianabela/subscriptions","organizations_url":"https://api.github.com/users/fabianabela/orgs","repos_url":"https://api.github.com/users/fabianabela/repos","events_url":"https://api.github.com/users/fabianabela/events{/privacy}","received_events_url":"https://api.github.com/users/fabianabela/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/guillaumepotier/Parsley.js/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-16T13:39:23Z","updated_at":"2015-03-26T13:35:42Z","closed_at":null,"body":"I have encountered an issue where the value of a submit button is not being submitted with the form data. This is happening because of parsley. After some more troubleshooting I have discovered that if I make use of the script parsley.js and not parsley.remote.js, the issue is not there anymore.\r\n\r\nNote: This issue only happens in Internet Explorer and Firefox, while in Chrome everything works just fine.\r\n\r\nWorking example\r\n\r\nHere is an example in plunkr which demonstrates that with the script - parsley.js, this issue does not happen in neither of the browsers, see: http://plnkr.co/edit/0ylxasiyrlxhSrhrMaFH?p=preview\r\n\r\nThis means that if we run the above plunkr in any browser and enter anything in the text box and then click on submit, the submit button value is going to change from \"undefined\" to \"submitBtn\" as it should.\r\n\r\nNot working example\r\n\r\nHere is another example in plunkr which demonstrates that with the script - parsley.remote.js, there is this issue in both Firefox and Internet Explorer, while it is fine in Chrome, see: http://plnkr.co/edit/ODqZannjYFBEwppXOXiF?p=preview\r\n\r\nThis means that if we run the above plunkr in either internet explorer or firefox and enter anything in the text box and then click on submit, the submit button value is never going to change to \"submitBtn\" as it should, but instead it will always stay \"undefined\".\r\n\r\nAnybody has ever encountered this problem or have a solution? Thanks a lot."},"comment":{"url":"https://api.github.com/repos/guillaumepotier/Parsley.js/issues/comments/86516011","html_url":"https://github.com/guillaumepotier/Parsley.js/issues/826#issuecomment-86516011","issue_url":"https://api.github.com/repos/guillaumepotier/Parsley.js/issues/826","id":86516011,"user":{"login":"marcandre","id":33770,"avatar_url":"https://avatars.githubusercontent.com/u/33770?v=3","gravatar_id":"","url":"https://api.github.com/users/marcandre","html_url":"https://github.com/marcandre","followers_url":"https://api.github.com/users/marcandre/followers","following_url":"https://api.github.com/users/marcandre/following{/other_user}","gists_url":"https://api.github.com/users/marcandre/gists{/gist_id}","starred_url":"https://api.github.com/users/marcandre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcandre/subscriptions","organizations_url":"https://api.github.com/users/marcandre/orgs","repos_url":"https://api.github.com/users/marcandre/repos","events_url":"https://api.github.com/users/marcandre/events{/privacy}","received_events_url":"https://api.github.com/users/marcandre/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T13:35:42Z","updated_at":"2015-03-26T13:35:42Z","body":"I was focusing on removing it after successful submit (not possible I think), but duh, just need to remove when called again, I can't believe I didn't think of that :blush:"}}