socialforge/app/views/bids/_set_join.js.erb

8 lines
215 B
Plaintext
Raw Normal View History

2013-11-14 15:55:56 +08:00
$("#<%=object_id%>").replaceWith('<%= escape_javascript join_in_contest(@bid, user) %>');
<% if @state %>
<% if @state == 0 %>
alert("加入成功")
<% else %>
alert("密码错误")
<% end %>
<% end %>