Questions tagged as 'javascript'

0
answers

jQuery does not capture custom radio button clicked (click)

I have a simple HTML that <input name="chave_binaria" type="radio" id="radio_39" value="1" class="with-gap radio-col-green" checked> <label for="radio_39">Esquerda</label> <input name="chave_binaria" type="radio" id="radi...
asked by 05.12.2018 / 23:34
0
answers

Open Google Drive document and apply filters

Hello, I started using Google Drive to make it easier to share documents between the various departments of the company, but I do not know how to create "Macros". I would like to have a MENU file where the various departments are located...
asked by 05.12.2018 / 16:59
0
answers

how to handle a multiple file upload request and [object FileList]?

I'm trying to upload with multiple files, however the request is sending a string: [object FileList] <file class="btn btn-default" name="fotos_empreendimento" accept=".jpeg,.png,.gif" ng-model="vm.model.fotos_empreendimento"...
asked by 06.12.2018 / 13:31
1
answer

Select an image among other images

I need to make a "gallery" of image and pass some value of identification, in PHP, showing which image I selected. The idea is to show several images, as if they were icons, and the user to choose the preferred one. I think I can do it using...
asked by 24.11.2018 / 17:41
1
answer

Relate scripts and style tags with js

Ihavethesescriptstagsthatareusedtoadjustandgivefunctionstoacarousel.ButIamaddingthecarouselassoonasIclickonabutton,butasthepagehasalreadybeenrenderedthesescriptsenduphavingnoeffectonthecarouselthatwasadded.HowcanIgetthesescripttagstobe"reread"...
asked by 02.11.2018 / 02:06
0
answers

Several errors like this in console: Invalid or unexpected token

Hello, I'm having several errors like this in the browser console (as pictured). All of these scripts are from Wordpress itself, nothing I put there. I have already disabled all plugins, but the problem persisted. I am using the latest versio...
asked by 02.11.2018 / 17:31
1
answer

How to make a function run after another? JS (Jquery)

I have the following functions: Gets server data by ajax and saves it to an Array of objects: function carregaPesquisaTabela(){ controlLoading(); $.ajax({ url: "header.php", type: "POST", dataType:"json", data: { 'procuraPes...
asked by 03.11.2018 / 00:25
0
answers

Error with angular data.js mysql PDO

Good afternoon, I'm having trouble performing UPDATE with date however the date always stays 0000-00-00. I'm using angular.js and mysql PDO. I researched here in the forum some similar problems but so far without success. As a beginner, I...
asked by 04.10.2018 / 17:34
0
answers

Error testing GET method with Jasmine / Angular

I'm trying to compare the type of method when there is a call with the api url. import { async, ComponentFixture, TestBed, getTestBed } from '@angular/core/testing'; import { ServiceOrderTypesComponent } from './service-order-types.com...
asked by 04.10.2018 / 17:18
0
answers

Error in calling form with JS

Explaining the code below. I have a goal (value), if the user registers a goal below what is indicated in the system, the system automatically opens a form ('# add-modal-action-plan') Error: If the user registers a value in the date of the...
asked by 05.10.2018 / 14:43