Informatica ActiveVOS
- Informatica ActiveVOS 9.2.4.6
- All Products
<form id="DocumentInputForm$ID" name="DocumentInputForm$ID" action="">
<form id="DocumentInputForm$ID" name="DocumentInputForm$ID" action="" method="post" enctype="multipart/form-data">
<input type="hidden" name="_json" value="" class="_json$ID" /> <input type="hidden" name="responseContentType" value="text/html" /> <input type="hidden" name="responseWrap" value="textarea" />
<input id="Document_attachment_1$ID" name="Document_attachment_1" value="" size="50" type="file" />
<input type="submit" id="sendRequest$ID" value="Send Request" class="avc_form_instance_save" />
// Assign handler for saving form data entered by the user $("#sendRequest$ID").click(_submitRequest);
$('#DocumentInputForm$ID').submit(function() { _submitRequest(); // Important always return false to prevent standard browser submit // and page navigation return false; });
AE_AJAX_SERVICE_UTIL.postJSON(url, request, _showResponseCallback, _showFaultCallback, _communicationErrorCallback);
var jsonString = JSON.stringify(request); $("._json$ID").val(jsonString); var options = { dataType : 'json', url: url, success: function(aJsonResponse) { alert("Success"); $("#sendRequest$ID").attr("disabled", false); }, error: function(aXMLHttpRequest, aTextStatus, aErrorThrown) { alert("ERROR"); $("#sendRequest$ID").attr("disabled", false); } }; $("#sayHelloInputPartInputForm$ID").ajaxSubmit(options);