Questions tagged as 'javascript'

2
answers

I want to resize my slideshow as the size of the device changes;

The HTML of my slide show is the one I want to change style="width" every time you change the size of the device. <div class="leftside"> <div class="slideshow" id="slideshow"> <div class="slideshowarea">...
asked by 21.02.2018 / 00:32
1
answer

I can not edit Input content that returns address [duplicate]

Through this code I get the current address of the device: navigator.geolocation.getCurrentPosition( (position) => { this.setState({ latitude: position.coords.latitude, longitude: position.coords.longitud...
asked by 01.12.2017 / 20:04
1
answer

Hide td nulla in print JAVASCRIPT

On my system I made a button to print a screen. Everything is working properly, the problem is as follows. In the photo below you can see that the Current User part is coming nulla, since it has no user data, this is ok, I just need it when t...
asked by 28.02.2018 / 15:51
1
answer

Ajax help does not send data to the bank

I'm trying to send a form to my database. Ajax says that the user registration has been successfully done but when I go to look at the database there is nothing there. My Form. <form class="form3" method="POST" enctype="multipart/form-da...
asked by 27.02.2018 / 02:44
1
answer

Returning select value with javascript / jquery

I'm developing a software and I need to know which option the user selected and returned in the console.log, but I tried several functions and none worked. How do I get this return? function verificar() { // aqui seria a fu...
asked by 18.12.2017 / 18:33
2
answers

Create Directive Attribute for date Month / Year in Angular JS

How to create a Month / Year date format I have developed the code below, and it is not going through the consoles menus, that is, it is not entering the link: Note: you are not giving any errors on the console. <div class="form-g...
asked by 18.12.2017 / 13:13
1
answer

Fill form with extension for google chrome

I'm creating an extension that fills a form of a particular web page, but I'm having a problem, the code does not run automatically or even when I click on the extension, I'm very lost. manifest.json { "name": "SGIR - Extensão", "manifest_v...
asked by 19.12.2017 / 00:09
1
answer

How do I go back to old versions of nodejs by npm?

I need to go Node.js version 5.10.0 in order to use Firebase Hosting     
asked by 12.01.2018 / 16:05
2
answers

Multiple form ajax request, with javascript function

I'm having trouble sending forms correctly, I have several forms, each with its id, and a function that I call on all forms: <script> function enviaForm(id){ $(id).submit(function(){ var camp1 = $("input[name='a2']:checked")...
asked by 12.01.2018 / 19:55
1
answer

Open a tab, passing data fetched from the result of firebase

Dear, I'm testing how firebase authentication works, I can authenticate anyway (Github, FB, Twitter, Google) but I can only use result data on the home page. I would like to know how I could open another tab and be able to use the firebase retur...
asked by 12.01.2018 / 19:11