Hi, The following is HTML output. I will try to add an incrementing parameter. Thanks for your help. Arden ====================================================================== <?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link href="/arden/styles/layout.css" rel="stylesheet" type="text/css"/> <title> Insert title here </title> <link href="/arden/images/favicon.ico" rel="shortcut icon"/> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script type="text/javascript" src="/arden/javascripts/jquery/jquery-1.2.6.js"></script> <script type="text/javascript"> function refreshProgress() { var uploadTicket = $("#uploadTicket").val(); $.getJSON( '/arden/uploadprogress.spring', {uploadTicket:uploadTicket}, function(data){ $("#test1").val(data.demo); }); window.setTimeout("refreshProgress()", 1500); } $(function(){ $("#uploadForm").submit(function(){ $(":submit",this).attr("disabled", "disabled"); window.setTimeout("refreshProgress()", 1500); }); }); </script> </head> <body> <div id="container"> <div id="header"> header </div> <div id="menu"> <ul> <li ><a href="/arden/home.spring">Home</a></li> <li ><a href="/arden/photo.spring">Photo</a></li> <li ><a href="/arden/hiking.spring">Hiking</a></li> <li ><a href="/arden/computer.spring">Computer</a></li> </ul> </div> <div id="contentwrapper"> <form id="uploadForm" method="post" action="imageuploadnew.spring" enctype="multipart/form-data"> <table> <tr> <td>File:</td> <td> <input type="hidden" id="uploadTicket" name="uploadTicket" value="3"/> <input type="hidden" name="albumId" value="1"/> <input type="file" name="file01"/> <input type="text" id="test1" name="test"/> </td> </tr> <tr> <td></td> <td> <input type="submit" id="submitButton" value="Submit"/> </td> </tr> </table> </form> </div> <div id="footer"> <ul> <li><a href="/arden/about.spring">About</a></li> <li><a href="/arden/powerby.spring">Power By</a></li> <li><a href="/arden/language.spring">Language</a></li> </ul> </div> </div> </body> </html> ====================================================================== On Tue, May 27, 2008 at 12:54 PM, Scott Sauyet <[EMAIL PROTECTED]> wrote: > > arden liu wrote: > >> The following code only works under Firefox, I do not know why it does not >> work under IE. >> > > It might help if we had the HTML output rather than the raw JSP code. > > But my first thought is that perhaps IE is caching the results and not > calling your URL again. Could you add an incrementing parameter to the > data? > > -- Scott >