web问题

模拟form提交过程中form(hidden)时:The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "file". Protocols must match.用node发布就好了。

 

Protocols, domains, and ports must match. 需要手工提交,而不能使用submit(),手工submit之前修改protocols,domain,ports.

 

状态的切换,用class比较好一些。

 

一个元素,会删除,再添加。给它加事件时,应该.unbind().bind('',);

posted on 2014-09-25 15:24  j.w  阅读(190)  评论(0编辑  收藏  举报