Hello Giovanni, Emil, and Mike. Thanks for the time you have given
with this. Also Mark thankyou for the time you've spent creating the
Forms Plugin, very much appreciated.

Mark, A simplified version of the page looks like this (not the best,
I've removed the jQuery + Form Plugin includes, but they do work):


<script type="text/javascript">
$(document).ready(init);

function init(){
        $("#addImage").ajaxForm(function(){alert("Submit Success");});
}

</script>

<form action = "node/add/image" method="post" id = "addImage">

<label for="edit-title">Title: </label>
<input type="text" maxlength="128" name="title" id="edit-title"
size="60" value="" class="form-text required" />

<label for="edit-image">Image: </label>
<input type="file" name="files[image]"  class="form-file" id="edit-
image" size="40" />

<label for="edit-body">Body: </label>
<textarea cols="60" rows="5" name="body" id="edit-body"  class="form-
textarea"></textarea>

<input type="submit" name="op" id="edit-submit" value="Submit"
class="form-submit" />
</form>



On Oct 16, 9:26 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> @Email: The form plugin handles file uploads just fine (using an IFrame).
>
> @dgt:  Can you post a simplified sample page?
>
> > ajaxForm uses Ajax to send the data (XMLHttpRequest), but XMLHttp does
> > NOT support file uploading, so the way to send a file (image or
> > whatever) is to use an iframe.

Reply via email to