Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ul>
- <li id="divContentOne"> (each id has the same name of the view, so
- the first li has to load divContentOne.blade.php)
- </li>
- ...
- ...
- a lot of li
- ...
- </ul>
- <div id="toload">
- </div>
- <script> ul.addEventListener('click', function(e) {
- Id = e.target.id;
- asyncFunc();
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement