My HTML:
My RJS:
page.insert_html :bottom, ‘search_results’, “
page.show “search_div”
Now, everytime this gets called, it adds a “Test” row. However, I
want it to replace the current rows, not add one.
So I tried adding this line to my RJS before the other 2 lines:
page.replace_html ‘search_results’, ‘’
This clears out the TBODY perfectly fine in both Firefox and Safari,
but it stops the RJS from processing in IE.
I know IE has an issue with RJS and updating tables, which is why I
am trying to update the TBODY tag instead. Any ideas why this isn’t
working?