I am usinge rails 5.0.2 My view page code is:
<%= link_to 'Download files',cader_history_path(:job_id => @check_cader[0].job_id), :remote => true, class: "btn btn-link", 'data-toggle' => 'modal', 'data-target' => '#files' %>
But its did not open the modal, after making this call as remote: true Is their any other way round thanks in advance
As per the description mentioned in the post and code posted, it seems like you have made jquery selector in the html tag
Modify it to
In the above code the files is the id of the modal so no need to append "#" in front of it.