新手问题 js 事件触发

water · November 27, 2012 · Last by Yujing_Z replied at November 30, 2012 · 2267 hits

用表单插件写了一个登录的表单,想通过 js 鼠标点击弹出,现在表单写好了,JS 事件触发的函数里怎么放代码啊?好像不能把 erb 直接放进去

alert 那种弹出应该不能做表单吧,偷懒的话可以试试这个 http://twitter.github.com/bootstrap/javascript.html#modals

你载入页面的时候,你这个表单已经藏在页面里面了,只不过是隐藏的。你一点表单,他只不过是变得可见了

You need to Sign in before reply, if you don't have an account, please Sign up first.