I'm going nuts here, and I think i've been staring at this far too
long. I have done more than one of these in my day, but for some
reason this just isn't working. I'm hoping a fresh set of genius eyes
can help me out here.

Everything has been checked for validation and so on. Doesn't work in
IE or FF. Thanks in advance!

<script type="text/javascript">
$(document).ready(function() {
        var submitoptions = {
        target:        '#loading'
                };

        $('#e2').submit(function(){
                $(this).ajaxSubmit(submitoptions);
            return false;
        });
});
</script>

<form id="e2" enctype="multipart/form-data" class="photoform"
action="photo_process.php" method="post">
<label>Photo # 2</label><br/>
<input type="file" name="photo"/>
<input type="submit" name="upload" value="Upload" style="width:100px;"/
>
</form>

Reply via email to