Skip to content

Commit

Permalink
Added auto sublit when chenge party search
Browse files Browse the repository at this point in the history
  • Loading branch information
beastie87 committed Dec 16, 2019
1 parent ec2cf96 commit b382e6b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/views/sumisne_holosuvannia/init.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@
</datalist>
<% end %>
</div>
<script>
$(document).ready(function($) {
$('#party').change(function() {
$('#search-main').submit();
});
});
</script>
</div>

<div class="container">
Expand Down

0 comments on commit b382e6b

Please sign in to comment.