Rails Ajax and tr issues
I think this post may help for rails new users. First I will mention how I faced the problem.
I used pure html and prototype functions with in a <tr> tag.
code is
<img src=”/images/delete_img.png” onclick=”new Ajax.Updater(’show_time_table’,'/showtimes/<%=showtime.id%>/’, {method:’delete’})”/>
I used this with in a <tr> tag and I don’t mention about the <td>. Here ajax call not execute until I put this code inside a <td> tag.