I have a form and on the submit, it directs to a 'overlap_check' controller action. In the action, if a condition is met from the params that have been sent, i want to render a modal on the page by calling a javascript function. Is this possible?
I've seen some examples using:
# render :js => "('#testing').modal('show');"
But no luck with this.
thanks