Questions tagged as 'javascript'

1
answer

Take animation out of the button and leave only the zip code field visible

I'm having a difficulty that I can not solve ... I do not understand much of JavaScript, so I decided to ask. I am editing this site in HTML: link And I want to take the animation out of the "Delivery Service" box and leave only the emai...
asked by 03.02.2017 / 16:56
1
answer

How to load images after scrolling when they are in view-port?

Look at this page: link It has the following structure: <p>titulo do post</p> <img src> <p>titulo do post</p> <img src> <p>titulo do post</p> <img src> But what I'm wondering i...
asked by 02.02.2017 / 12:43
1
answer

Onclick respect required field

I created an animation that appears on the screen and blocks the fields entered by the user while the request is processed, directly in submit , as below: onclick="javascript:document.getElementById('blanket').style.display = 'block';doc...
asked by 03.02.2017 / 13:57
1
answer

Receive modal id to delete record

I have a page called produtos.php , where all products in my database are ready, each product is in a table and each has its details button, edit and delete, I can pass the id for my delete button but I can not get it in modal . moda...
asked by 05.01.2017 / 19:37
2
answers

Accept cents in javascript [duplicate]

I would like this code to take the cents of the value coming from the javascript variable preco = parseInt(preco); I've put it like this preco = parseFloat(preco); Full code below total = 0; function adiciona(id) { calcula(id,...
asked by 05.01.2017 / 23:39
1
answer

Save data from a query to an array and display it via JQuery

I'm doing a question and answer game, I need to make an appointment in the bank and I'll get 4 columns (id, question, answer and challenge) and it will return me 10, 15 or 20 lines depending on what is chosen by the user. After that, these colum...
asked by 09.01.2017 / 20:20
2
answers

Accept cents in a javascript code

Hello, I can not get the Code accepted cents follow the javascript code, someone gives a light on it. <script> total = 0; function adiciona(id) { calcula(id,"adicao"); } function remove(id) { calcula(id,"subtracao"); }...
asked by 05.01.2017 / 02:57
1
answer

I need to add a cell from a html table dynamically

Hello I'm having a code I would like it to do the sum between the cells of a table and display below in total as per the code below. -more like dynamically as you add another column below the product without having to change the javascript....
asked by 03.01.2017 / 04:50
2
answers

Error Menu Appears Slowly

So I'm having problems with if else and with hide (), show () I'm creating my portfolio and I want the menu to be fixed from scrolltop 70 and I want it to appear slowly Then I did the following if($(window).scrollTop() > 70...
asked by 09.01.2017 / 22:54
1
answer

How to get the marker total in google maps?

I'm using Places search box . Here is the code: function initAutocomplete() { var map = new google.maps.Map(document.getElementById('map'), { center: {lat: -33.8688, lng: 151.2195}, zoom: 13, mapTypeId: google.maps.MapTypeId.ROA...
asked by 04.01.2017 / 18:23