Questions tagged as 'html'

3
answers

Change td value after validation

I have the following HTML code <table> <tr> <td class="x">10</td> <td class="x">10</td> <td class="x">12</td> <td class="x">18</td> </tr> </table> Using jquery I can ge...
asked by 24.10.2016 / 00:47
1
answer

Validation of two selects

I have two fields select , one I have states and another cities. I need to select in a select a state, eg: São Paulo and in the other select only bring the cities of são paulo.     
asked by 28.10.2016 / 19:41
1
answer

Call 2 events on onclick

I'm developing a website, and I need to trigger 2 events when a text is clicked. A js function, and a google analytics goal tracking code. Here's an example function shownumber() { document.getElementById("number").innerHTML = "<sm...
asked by 12.11.2016 / 19:59
1
answer

How do I get the value of each checkbox that is inside a loop?

Good morning guys, I need help :( It is as follows, I need to delete several records at once so I need to select the ID of each record, so I did an input with a checkbox inside the loop like this: <form method="POST" id="formDeletarMsg" act...
asked by 10.11.2016 / 14:21
2
answers

Enter a Date Range

Good morning, I'm doing a system that needs to record the presence of users in an event, separating by date and time period. The part of the period was simple, but the date I got a problem, I need to get the date of the form that inserts the Sta...
asked by 14.11.2016 / 14:14
1
answer

colspan with css

I mounted a table in css, however I'm having a problem, I wanted to leave the line with colspan attached to the top line. Notice that the colors do not match, that is, the color of the line with colspan has to be the same color as the top line....
asked by 02.02.2017 / 18:34
1
answer

can I use the same Id that I set for Name in HTML?

In order to manipulate the html tags in php I need to set a name for them, while javascript uses the id, but can I have some kind of future problem if I use the same name that I set for name in ids? br> Ex. <input type="text" id="user" nam...
asked by 30.09.2016 / 04:44
2
answers

how to make a div float over another div

I'm trying to make an interface similar to that of whatsapp web which has a green header and a gray background where the chat box is contained on this gray background and the green header. The only way I can think of how this was done is by usin...
asked by 25.09.2016 / 00:58
2
answers

Popular DropDownList from another

Good morning, I have a DropDownList populated from a Model class. example: Processor, Memory, HD Afterclicking"+" I have to add another DropDownList with all values less than the value selected in the previous Combo. @if (Model.ListAtri...
asked by 08.03.2017 / 15:27
3
answers

How to get media item with javascript or css?

Well, I have the following situation: <div class="corpo"> <div class="item"></div> <div class="item"></div> <div class="item"></div> </div> This div block is randomly generated and I...
asked by 01.03.2017 / 23:10