calling JS from form in rails

<%= form_tag({:action=>"report"},{:method => :post, :onSubmit => "return isNumeric(document.getElementById('premium_user'))"})%>

Comments

Popular posts from this blog

Install Cpanm module error : No such file or directory opening compressed index

How to increase Elasticsearch Shard recovery Speed

Shell Script to SSH into servers