Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a class="list-group-item list-group-item-action" id="list-banka" data-toggle="list" href="#list-bank" role="tab" aria-controls="home">
- <div class="tab-pane fade show" id="list-bank" role="tabpanel" aria-labelledby="list-home-list">
- <script>
- $("form").submit(function (e) {
- //Form submitted
- var search = "<?php echo "list-" . $_GET["row"]; ?>"; //list-bank or list-carried
- var searchlink = "<?php echo "list-" . $_GET["row"] . "a"; ?>"; //list-banka or list-carrieda
- $(search).addClass("active");
- $(searchlink).addClass("active");
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement