Need javasrcipt help

I have two button in my Rails page. one is submit and other is
for submit button, I use:
<%= submit_tag “submit” %>

In the case of delete button I place a ‘onclick’ javascript function to
call my ‘set_value’ function,

In that way I want to open delete_data.rhtml page and send the cell_no
variable in the ‘delete_data’ controller method.

please help me in syntax of the code.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs