Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <a href="#myModal_addexercise" onclick="addexercise('{{ $workout->name }}', '{{ $workout->workout_id }}'); return false;" role="button" data-toggle="modal" class="btn btn-success">
- Add Exercises
- </a>
- <script>
- function addexercise(name, workout_id) {
- alert(name);
- $('#modal-workout-name').html(name);
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement