I think the change event on the form element is unreliable.  Try
putting your change handler on the file input.

$('#jxbg').change( function() {...


Mike


On 4/26/07, Vaska <[EMAIL PROTECTED]> wrote:

Works fine in FF, Safari...IE doesn't like this...been toying with
this for hours and havne't gotten anywhere with it. Am I missing
something obvious?

It works via an iFrame...

$(document).ready(function()
{
        $('#iform').change( function() {
                $('#iform')[0].submit();
                parent.updating();
        });
});

<form enctype='multipart/form-data' action='?a=exhibit' method='post'
name='iform' id='iform'>\n";
<div>
<input type='file' id='jxbg' name='jxbg' />
<input type='hidden' name='upload' value='1' />
</div>
</form>

Reply via email to