又是二三事

form = document.getElementById("form");
form.setAttribute("action", "xxx.php?xxx=xxx");
//FF正常,IE没法用
document.formname.action = "xxx.php?xxx=xxx";
//这样就行了,其实这个问题很操蛋 囧!
/***********************************/
//<select id="opt"><option>xxx</option></select>
opt = document.getElementById("opt");
opt.innerHTML = "<option>yyy</option>";
//FF正常,IE没法用
//解决方法是把select用一个DIV包起来,用getElementById获取DIV的ID,把select全部生成了再放进去

  这几天就在搞这么些破事儿,浏览器兼容问题太难搞了,最难搞的就是”爱E”(E,你有这么难爱么),鸡饿死、C饿死饿死啥啥的,够好好搞搞的了。

  晚饭的时候,老妈对我说:“南瓜是粗粮,吃点对身体好!”我:”你吃肥肉我就吃南瓜“。老妈无语。

Tags : ,

Google Reader Yahoo Facebook Twitter Digg FriendFeed Delicious Google Translate
这篇日志发表于2008年08月13日 23:55。 你可以订阅该日志的所有评论通过 RSS 2.0。 评论当前被关闭,你可以引用通告

评论当前被关闭。