Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#traziZivotinju').on('click', function (e) {
- /*
- $('#odabirZupanije').on('click',function() {
- console.log($(this).val());
- });
- $('#odabirZivotinje').on('click',function() {
- console.log($(this).val());
- });
- */
- var odbrZupanija= document.getElementById("odabirZupanije").value;
- var odbrZivotinja = document.getElementById("odabirZivotinje").value;
- // Get the element by their class name
- // Get the element by their class name
- const elements = document.getElementsByClassName("oglasi");
- while (elements.length > 0) elements[0].remove();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement