Combine input val ajax from two forms. |
When user asks a question on my form and needs to upload a image they can by clicking on button and opens a bootstrap modal. When the user ask a question that question has its own id.
I would like to know how to combine these to on my ajax code below Code: var form_upload = new FormData($('#form-upload')[0]); Question: How to combine question code val with the form upload? Code: $('input[id=\'file\']').on('change', function(e) {
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Welcome Guest, Not a member yet? Register Sign In |