Last post Jan 25, 2019 01:37 AM by GeorgeClass
Jan 23, 2019 09:10 PM|GeorgeClass|LINK
I am sort of new at Jquery.
I need to upload 2 files and send a string at the same time to the server so I can process the files and return a response to the user without posting the form, I have found this snippet but it only upload the files and I don't know how to add the string
and return a response to the user.
Can anyone light my path?
Jan 24, 2019 08:31 AM|Jenifer Jiang|LINK
According to your description, I think the sample in the link is clearly designed to upload file and response result to user.
add the string and return a response to the user.
I'm not clear about what the string you want to send.
Is it the message like "I'm sending a string"? Could you please describe in detail?
Jan 25, 2019 01:37 AM|GeorgeClass|LINK
I have to send two files but each file belongs to one FileUpload control, that's 2 FileUpload controls, also I need to send a string from a TextBox at the same time.
The files are X.509 certificates, and the string is the password for the private key, so the first FileUpload should contain the .cer file, the second FileUpload is the .key file, and the string is the password for the private key. So I need to send back
to the user a response, either "Everything is OK" or "Something's wrong