Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- jQuery(document).ready(function() {
- // Set step
- var step = 1;
- // Add event
- $(document).on('click', '.add-event', function(event) {
- event.preventDefault(); $el = $(this);
- // Open modal
- lexmodal.open($el.attr('href'), null, function() {
- // Set step
- step = $el.attr('data-step');
- // Marku...
- alert('You can do shit for step ' + step + '.');
- });
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement