Questions tagged as 'html5'

3
answers

execute JQuery calculation for each corresponding div

I'm creating a star rating system but I can not get the jquery to apply the correct Width for each span in the example below. I have three DIVs and each of the 3 divs inside them has <span class="ratingAverage" data-average="1.2"></sp...
asked by 21.09.2018 / 23:58
2
answers

jQuery mask is not working

I want to put a mask on the phone number but it is not working, I've tried it anyway, with different ways to call the jQuery and jQuery.mask file. I'll show you how my code is, am I doing something wrong? (in another project I did exactly that w...
asked by 30.08.2018 / 13:37
2
answers

How to add invalid status in html input fields?

I am doing validations in the database before the user submits the form, however, let's say the typed email already exists in the database, as I could mark the input field as invalid so that the user can not send if the current value of...
asked by 15.05.2018 / 15:38
1
answer

Error trying to use HTML5 Local Storage

I am studying about local storage in HTML5 and JS, understanding that its purpose is to store texts in local / p> When testing, I got JS errors. I would like to understand why: <scripttype="text/javascript"> function exibir(){...
asked by 23.09.2014 / 19:37
4
answers

Show table on page after clicking a button

I have the following table: <table width="100%" class="table table-bordered table-hover table-responsive table-striped" id="empenho_solicitante"> <thead> <tr> <th colspan="5"> +---------------------------------...
asked by 14.12.2017 / 20:12
4
answers

How do I validate the radio input of my code?

$(function() { $("#btn").click(function() { $("#c1").css("background-color", "white"); $("#c2").css("background-color", "white"); $("#c3").css("background-color", "white"); $("#c4").css("background-color", "white");...
asked by 01.12.2017 / 20:07
3
answers

CSS direct in HTML tag [closed]

I bring a question today regarding CSS Sometimes it's more feasible to put the direct CSS code in the HTML tag and wonder if this is a bad practice How do I proceed with this question? It is really bad? I make the time and then I move to a...
asked by 19.10.2016 / 02:58
2
answers

Jquery click action does not work with duplicate items

I have two buttons on my page that serve to delete users, one I placed at the top of the table where it displays the users along with the paging and the other at the bottom, also along with the pagination. I put it like this to facilitate user b...
asked by 12.10.2017 / 21:07
4
answers

How to create function with SINGLE BUTTON to open several class together?

In the current function below, it opens an ID (title) on each click. And you can open several if you click each. It's great and working perfect (I think) But I need to have a single separate button that opens all together and close al...
asked by 27.10.2017 / 13:25
3
answers

Go through inputs with jquery and check if there is a certain class in the input

I'm getting the inputs with the code var itensTabelaPresentation = ('#tabelaPresentarion > li'); and would like to go through them and go check if they have a certain class, how do I do this in a foreach? <ul class="nav nav-ta...
asked by 20.10.2017 / 19:24