ajaxContent 介绍
The plugin refers to an A tag and use the
Href attributes to make the call filling up a #ajaxContent div on the
page with the server resposnse.
The plugin manage:
1) the display of a loading message ( an img if you want )
2) the error message ( cutomizable) display if needed
3) the call of course
4) the loading data in the div
5) the event is click but is customizable as you prefer as of course
the target element.
Is nothing special nut I love to set up my standard ajax like thi:
$(‘.ajax’).ajaxContent();
and let the plugin do the work for me.
ajaxContent 官网
http://plugins.jquery.com/project/ajaxContent
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。