摘要:
使用Struts2 JSON默认只能获取当前类(Action)的属性,对于基类的属性是屏蔽了的。例如: public abstract class BaseAcion extends ActionSupport { private String result; private String message; //getters, setters}public class MyA... 阅读全文
posted @ 2012-12-26 18:25
野文
阅读(1503)
评论(0)
推荐(0)
摘要:
一、动态加载CSS文件 function loadCss( cssUrl, attachToTopWindow ){ var $head = attachToTopWindow ? top.$('head') : $('head'); if($("link[href='"+cssUrl+"']").length==0){ $("<link>") .app... 阅读全文
posted @ 2012-12-26 15:23
野文
阅读(834)
评论(0)
推荐(0)
摘要:
原标题: 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... 阅读全文
posted @ 2012-12-26 15:14
野文
阅读(3112)
评论(0)
推荐(0)
浙公网安备 33010602011771号