Questions tagged as 'javascript'

1
answer

Send multiple values in an input to PHP using jQuery AJAX

I have a script that aims to insert multiple items into a list of a form using Ajax. For each element inserted in this list, a next one should be added. After inserting X elements, it should take all values and play in just one input, addi...
asked by 31.10.2014 / 19:57
1
answer

Does the base tag affect scripts and styles in an html document?

Having http://exemplo.com/diretorio1/documento1.html the code: <!DOCTYPE html> <html> <head> <title>Uma página</title> <base href="http://exemplo.com/diretorio2/" /> <sc...
asked by 03.11.2014 / 14:13
1
answer

How do I import data from a spreadsheet in excel (csv) into an HTML table?

Hello, I'm making a website, which contains a table, but the data in this table needs to be imported from an excel sheet that I have saved here on my machine. Can anyone help me? If possible, I would like to use pure javascript     
asked by 21.02.2018 / 18:34
1
answer

Make responsive iframe content (Google DFP)

So, I have a somewhat complex problem. Knowing that it is not possible to CSS style the content of a <iframe> , I do not know any other way to achieve the desired goal. I even tried with JavaScript, but nothing worked, some tests I h...
asked by 16.03.2018 / 18:22
1
answer

Problem generating javascript graph using Spring

I'm implementing graphics in a web application I'm developing in Spring. I have already done my API, is bringing Json with all the information of my Cart object, but the graph is not being generated in the html page. Can someone help me solve th...
asked by 21.07.2018 / 22:00
1
answer

Custom password window for the same page

I want to put a password on the page when it is accessed (simple), in a window (type alert) with password that appears before loading the page, I wanted this custom "alert" just like a modal or any custom window ... Very simple even people ar...
asked by 18.08.2018 / 15:29
1
answer

How do I stop the video when I close Modal?

When I close the modal the video continues to play, how do I stop the video when I close the modal? <!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <m...
asked by 03.08.2018 / 20:49
2
answers

Save information if user exits the page

The page in question has a form on the face, this form has only three fields, which are the necessary basic information, after clicking the button, the fields will disappear and new fields with complementary information will appear. The probl...
asked by 02.08.2018 / 22:20
1
answer

Problem with jQuery mouseleave function to trigger popup

I'm using the mouseleave function to open a popup when the user moves the mouse out of the site. This is the code: jQuery('body').mouseleave(function() { if (!jQuery('body').hasClass('leave-on') && localStorage.ge...
asked by 21.07.2018 / 04:39
1
answer

How to set var JS value for html field?

I have the following code that: When a field goes into focus it calls a function to check which field is in focus to change the value of a variable in a tooltip! Example: //Aqui quando o campo entra no focus ele chama a função Aalerta p...
asked by 12.12.2014 / 17:05