This sample helps you? http://pepper.sherry.jp/jquery/newajaxfunc2.html
$().load() / $().get() / $.().post() callback's 2nd argument shows status. If status == 'success', ajax request succeeded. If status == 'error', ajax request failed. (because file not found, timeout, etc.) When $().loadIfModified() / $().getIfModified called, the status of notmodified might return. When the file on the server has not been changed, notmodified is returned. This is useful to monitor the change of the file periodically. On 8/30/06, Will Jessup <[EMAIL PROTECTED]> wrote: > Still working on the GetIfModified as outlined here: > > http://www.mail-archive.com/[email protected]/msg00481.html > > Any examples of how to use this properly? I'm not sure how to grab the > states "success, failure, notomdified" etc. > > will > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > -- ----------------------------------------------------------------------- Handle : 沢渡 みかげ ([EMAIL PROTECTED]) ☆沢渡 みかげ☆ PGP5 DH/DSS key FP : 76D9 DBB7 5E3C 865B 7A60 A1E8 0A97 3DF0 B130 0941 You can get my PGP key at http://www.mikage.to/mikage/mikage.asc _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
