Questions tagged as 'javascript'

0
answers

Lock the timepicker button

<?php include('ligabd.php'); $id=$_GET["id"]; session_start(); if(isset($_SESSION["id_cliente"])){ }else{ header("location:login.php", true, 301 ); } $successMsg=''; $consulta = 'SELECT * FROM marcacoes'; $consulta2 = "...
asked by 29.11.2018 / 10:15
1
answer

How do I dynamically change the minimum number of search characters in the jQuery Autocomplete library

I want to dynamically change the minLength attribute of the jQuery Autocomplete library . This need is due to the fact that if the user performs the search by the name or email of the client the minimum to start a search and three cha...
asked by 28.11.2018 / 18:56
1
answer

SetInterval - Chrome Extension

I'm having a little problem, I need to make a simple alert to be displayed every 10 minutes for users, so I was asked to mount an extension for chrome since they use a dialer in chrome and it stays open all the time. The problem is as follows...
asked by 04.12.2018 / 18:51
1
answer

get the result of a function and send via post in another

I'm using the instascan lib to read qr code. but I am not able to send the result via post with ajax. Can someone help? The code I'm using is below:   qr sacanner       <h1>qr scanner</h1> <video id="preview"></v...
asked by 29.11.2018 / 15:48
0
answers

Select a selectbox from a click of a table

Hello, I'm trying to pass the data from a table pulled from the database to the fields that belong to update on the same page as the one that I registered, but I can only pass the data from the textbox to the page in php. Below the logic I was...
asked by 27.11.2018 / 19:51
1
answer

Sort followed by map not working on React

I have an array of objects and I am trying to iterate with map in this array after the sort method, however it is iterating in the normal array, disregarding the sort method and reordering. p> {this.mapasVetados .sort((...
asked by 28.11.2018 / 14:46
1
answer

Using ng-style for a boolean variable within a ng-repeat angularjs

I have a listing like this: <tr md-row md-select="cali" md-select-id="name" md-auto-select ng-repeat="cali in vm.calibracoes"> <td md-cell>{{cali.idCalibracao}}</td> <td md-cell>{{cali.pessoa.nome}...
asked by 01.12.2018 / 18:55
1
answer

How to clone form in the right place of the page - JavaScript

Folks, I used a code to clone a form when the user clicks the add button, but when it clicks add, the form clones underneath the submit. I have no idea what the problem is. Help me find out, please. var newid = 1; function addForm() { v...
asked by 29.11.2018 / 13:52
0
answers

How to put text on top of a "datapoint" chart chart?

Hello, I have the following graph: Iwanttodothis: Thecodeforthepage: var yLabels = {0: '', 4: 'Pessimo', 6: 'Trancamento', 8: 'Ruim', 14: 'Excelente', 12: 'Mobilidade Acadêmica', 10: 'Regular', 16: 'Sucesso', 2: 'Fracasso', 18: ''}...
asked by 29.11.2018 / 12:58
1
answer

Convert multi array into json Multi Array

In a print_r, I'm printing the array ( object ) $ all ', and I'm getting the following multidimensional array : Array ( [0] => Produtos Object ( [idProduto:Produtos:private] => 1 [tipo:Produt...
asked by 29.11.2018 / 15:28