I'm trying to make a function that causes the buttons to only change the data-attributes of the corresponding value menu, however, it does not display an error in the console, but it does not work either:
function menu(){
var doc =...
I want to change the value of a custom attr via jquery, but without success. Here is the code below:
$("#botao-01").click(function() {
$("#img-screen").attr("data-image","img/bauru-02.jpg");
});
<div id="img-screen" class="tile"...
The problem is this: I have a input product search, I type it filters and adds to the "items" table; in the "items" table has input that filters the services with value, and then I give
split ()
I take the value and try to pass...
Good morning, I am putting together a system that when I click a button I add a <li> to the last row record, however every <li> has numeric data-id for differentiation, that is, I would need to know the last data-id...
Hello
I'm doing my first online store project but I'm missing out on completing some tasks that I do not know at this point how to solve. Below is what I need to do:
How to show the cart (which will be hidden) when the first item is inser...