08 2011 档案
摘要:javascript 参数是string类型的时候前后要加“”,有些情况下一定要加转义符:例如下面情况:这是在servlet中的写法,因为用的ajax提交,所以使用PrintWriter对象输出内容String ptostr = "aaaaaaaaaaaaa";out.println("<span id='"+value+"' onclick='showContent(\""+ptostr+"\")'><img src='images/file3.
阅读全文
摘要:Google Maps in jQuery UIDialogJust a quick fix type of post that hopefully someone finds in their googling. If you are attempting to use a google map (either v2 or v3) in your page, and want it inside a jQuery UI dialog box, you will likely run into a strange behavior where half the map is grey. You
阅读全文

浙公网安备 33010602011771号