记录一下jQuery插件.
example:

Javascript代码
  1. // Shortuct functions
  2. jAlert = function(message, title, callback) {
  3. $.alerts.alert(message, title, callback);
  4. }
  5. jConfirm = function(message, title, callback) {
  6. $.alerts.confirm(message, title, callback);
  7. };
  8. jPrompt = function(message, value, title, callback) {
  9. $.alerts.prompt(message, value, title, callback);
  10. };
// Shortuct functions
	jAlert = function(message, title, callback) {
		$.alerts.alert(message, title, callback);
	}

	jConfirm = function(message, title, callback) {
		$.alerts.confirm(message, title, callback);
	};

	jPrompt = function(message, value, title, callback) {
		$.alerts.prompt(message, value, title, callback);
	};

jqGrid Demo链接:http://www.trirand.com/blog/jqgrid/jqgrid.html

jsTree Demo链接:http://www.jstree.com/demo