Hi everyone,
I created a JS file to get the form via Ajax with this:
Is there any way to disable a file upload element in the response only to prevent changes when I make another request to submit the form? Because when I do this request to get the form the file upload data doesn't came with the other data..
Cheers
Karine
I created a JS file to get the form via Ajax with this:
Code:
jQuery.ajax({
type: "POST",
url : "index.php?option=com_fabrik&view=form&Itemid=135&formid="+self.options.listId+"&rowid="+htmlIdRow+"&listid="+self.options.listId,
context: document.body
}).done(function (ret) {
var formToModify = jQuery(ret).find(".fabrikForm");
var fileUp = jQuery(formToModify[0]).find(".plupload_container");
fileUp.disable = true;
});
Is there any way to disable a file upload element in the response only to prevent changes when I make another request to submit the form? Because when I do this request to get the form the file upload data doesn't came with the other data..
Cheers
Karine