dgt, this all looks fine.  Do you have an demo page that shows the
problem in action?


> <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>

Reply via email to