摘要:
使用Struts2 JSON默认只能获取当前类(Action)的属性,对于基类的属性是屏蔽了的。例如: public abstract class BaseAcion extends ActionSupport { private String result; private String message; //getters, setters}public class MyA... 阅读全文
摘要:
一、动态加载CSS文件 function loadCss( cssUrl, attachToTopWindow ){ var $head = attachToTopWindow ? top.$('head') : $('head'); if($("link[href='"+cssUrl+"']").length==0){ $("<link>") .app... 阅读全文
摘要:
原标题: Totally Pwn CSS with Javascript From: http://www.hunlock.com/blogs/Totally_Pwn_CSS_with_Javascript The last great frontier for a Javascript programmer is usually the direct manipulation of a styl... 阅读全文