Questions tagged as 'javascript'

3
answers

Selecting the VALUE of a select with javascript or jquery [duplicate]

Well, I have the following problem: I need to select the value of a select in html to execute a loop if in javascript or jquery , how to do? <select class="input"> <option default disabled="d...
asked by 25.10.2016 / 14:08
2
answers

Display text to mouse position over word or image

Speak, people. I'd like to know how I can display text by hovering over a word or image. HTML5 - CSS - JS!     
asked by 26.08.2016 / 21:21
4
answers

How to mount buttons with Angular?

I have to mount three buttons and validate them in the angle, following the scheme:     
asked by 10.02.2017 / 13:44
3
answers

How to get the id of the onclick that was executed

Well, this is the following, I have a button that has the following structure: <button id="goncalo" onclick="ativafuncao()">Goncalo</button> How do I do the active function (), know that it was the id "goncalo" that called it?...
asked by 07.03.2017 / 00:19
2
answers

How to transform text into input text when clicking?

So, I need to transform a text that is inside an HTML tag into input text to edit it. What better way to do this? Example: link     
asked by 27.03.2017 / 09:10
0
answers

PHP and javascript - Running function onclick properly [closed]

Hello, I'm a one-page developer of a client. Inside this page, I put a link in the header (header.php file) inside the DIV structure which looks like this: <div onclick="irParaMinhasReservas();" style="cursor: pointer;" id="btnMinhasReserva...
asked by 06.03.2015 / 13:25
2
answers

Shopping cart store on client or server? [closed]

How best to store items in a shopping cart? In the javascript itself, on the client side or on a server session, either using $_SESSION(php) or Session["sessao"](C# Which would be better? safer and better for the user?...
asked by 01.04.2014 / 05:11
2
answers

Calculation of tenths of a second

I'm doing a "countdown" timer that counts the time it takes to get to a certain date (in the case November 30). I pass this information on; days, hours, minutes, and seconds. The case is that I wanted to display the tenths of seconds....
asked by 31.10.2018 / 12:53
3
answers

Wait for x seconds and show a submit

Is there any when a user enters a page, does the JavaScript wait 20 seconds, and after waiting for those 20 seconds to show a submit in real time? In other words, the user would enter the page, wait 20 seconds, then wait for those 20 second...
asked by 10.10.2015 / 13:56
4
answers

Checkbox checkbox with ajax

I have a checkbox that when checked or unchecked performs an update in the database, with ajax. But I do not know how to analyze his state change event. If you use checked it considers only the current state of the button. Can anyone h...
asked by 23.12.2015 / 13:50