Need javasrcipt help

hi,
I have two button in my Rails page. one is submit and other is
delete.
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.

Amin