Questions tagged as 'javascript'

0
answers

Animate Delay with jquery

I wanted to know how do I put a delay on image exchanges using jQuery. I did a test and it is not working, follow the code below. $(function() { $('a[href*=#]').on('click', function(e) { e.preventDefault(); $('html,...
asked by 06.07.2018 / 06:10
0
answers

Problem with display: block, none with Promises

Good evening. I'm having a problem getting the spiner with block on how much the execution of the promise is being made, but it's not working. this.fileLoad().then( (content)=>{ user.photo = content; let objUser =...
asked by 06.07.2018 / 03:55
1
answer

Quotes wrongly closing js

With a PHP file I'm inserting javascript code. So I'm using echo. echo ' grammar: "\name = s:[0-9a-zA-Z]+ { return s.join(""); }\n\" '; The problem is that it is giving error because within s.join("") is closing with the grammar...
asked by 06.07.2018 / 06:34
0
answers

Problem with Request via GET

I'm successfully using the script below to open in the Visual DIV the products for the selected brand: Trademark Link: <a class="marca" style="cursor:pointer;" id="'.$res['codigo'].'">'.$res['nome_marca'].'</a> Script...
asked by 06.07.2018 / 12:54
0
answers

How to fix a connection error in a site?

I currently manage the website of a City Hall , and today, from nowhere, the following error began to appear:    Warning: mysqli_connect () [function.mysqli-connect]: Headers and   client library minor version mismatch. Headers: 50521 Librar...
asked by 27.06.2018 / 16:33
1
answer

Help with date comparison in Java Script [duplicate]

I need to compare the final date of a service contract to put in a report that will have 4 status types: 1- contrato em vigor (Verde) 2- contrato próximo ao vencimento (Amarelo) 3- contrato vencido (Vermelho) 4- contrato com prazo indetermin...
asked by 27.06.2018 / 17:19
0
answers

How to put a Row on a card in react?

I want to put a row inside the ProperieCard component, how should I do this? Follow the code below. <PropertieCard key={property.id} size="col s12 m6 l4" property={property} redirectPropertyPage={this.handleRedirectPropertyPage} /&g...
asked by 27.06.2018 / 19:46
0
answers

Simple login system with javascript [duplicate]

Can anyone help me with how to make a simple login screen with javascript for website? The video tutorials that accompany me do not make it clear how to do: (     
asked by 27.06.2018 / 23:45
0
answers

react-materialize input is not working

I'm facing the following problem, I created a site using only the materialize and then I used the React library in the template, however now some fields are not working and one of them is the input I had to remove the jquery in some parts becaus...
asked by 27.06.2018 / 21:56
0
answers

Is there a hybrid plugin where I check if the location is active?

I'd like you to take a device's location to check if its location is active, and if it's not, generate a btn that takes you to the device's configuration to activate it. I previously used the Cordova diagnostic plugin, and for android it work...
asked by 27.06.2018 / 03:43