Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- menu[1] = 'opcje po kliknieciu pierwszego';
- menu[2] = 'opcje po kliknieciu drugiego';
- $('.main').click(function()
- {
- id = $(this).attr('rel');
- $("#menu").html(menu[id]);
- });
- </script>
- <button type="button" class="main" rel="1">Ustawienia</button>
- <button type="button" class="main" rel="2">Polecający</button>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement