Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sub_upload() {
- $('<form method="post" enctype="multipart/form-data">', {
- "id": "file_form",
- "html": '<input type="hidden" name="customer_first" id="customer_first" value="' + $("[name=Contact0FirstName]").val() + '" /> <input type="hidden" name="customer_last" id="customer_last" value="' + $("[name=Contact0LastName]").val() + '" /> <input type="hidden" name="customer_email" id="customer_email" value="' + $("[name=Contact0Email]").val() + '" /> <input type="hidden" name="AppName" value="upload_file" /> <input type="hidden" name="MAX_FILE_SIZE_" value="10000000" /> <input type="file" name="UserFile_" id="UserFile_" value="' + $("[name=UserFile]").val() + '"/>',
- "action": window.siteRoot + '/help/FormProcess.php'
- }).appendTo(document.body).submit();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement