Questions tagged as 'javascript'

0
answers

Filter in DataTable with Checkbox

I would like to use a checkbox for filter in DataTable, but I am not able to The ajax form data In this case, I would like to filter only data larger than 27, for example, when clicking on the checkbox //https://github.com/cbcarlos07...
asked by 27.07.2018 / 19:02
1
answer

Add values from an array of different criteria each

0 : {idPVI: “10”, idPV: “3”, descri: “Portuguesa”, preco: “32” } 1 : {idPVI: “10”, idPV: “3”, descri: “Portuguesa”, preco: “32”} 2 : {idPVI: “13”, idPV: “3”, descri: “Calabresa”, preco : “35”} 3 : {idPVI: “11”, idPV: “5”, descri: “Bord...
asked by 27.07.2018 / 22:09
1
answer

Transform html image into angular blob

I have the following image: <img id="preview" class="cropped rounded-circle align-center animated fadeIn" width="220px" height="220px"> I need to pass it to a function that will convert to base 64, but to convert to base 64, my image...
asked by 27.07.2018 / 19:15
0
answers

Capture and hide elements of an Iframe in JavaScript

Next, I have a web application where I stream an application using Hangouts On Air. I incorporate the iframe that is generated for me from youtube and game on my website. But I would like to block or make it difficult to access this video on You...
asked by 10.08.2018 / 04:17
1
answer

How to enable a button after validation?

I need the button to be enabled when the email does not exist in the database. See that validation if the email exists already works, I need the implementation that enables the button if the email does not exist. JavaScript <scr...
asked by 10.08.2018 / 04:24
0
answers

Keep formatting when exporting XLSX file through ExcellentExport.js

Good morning, I have a question about using ExcellentExport.js version 2.0.3 I can export my table without problems to download the xls file, however when I open it, the following message is displayed. ByclickingYes,Excelwillnormallyop...
asked by 30.07.2018 / 17:21
0
answers

Error: Cross origin requests are only supported for protocol schemes

I am using a server apache by XAMPP, the server is hosted on my machine, but when I try to make an ajax request I get the following error message: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extens...
asked by 30.07.2018 / 20:10
1
answer

JSON returning value undefined

Well, I have a code where I get the JSON data, but the display is undefined. function usuario_search(id){ $.ajax({ type:"GET", url: "/usuarios/search/"+id, success: function(data) { console.log(data); var json = JSON.parse(dat...
asked by 31.07.2018 / 13:17
1
answer

returns data with module.exports node js

I'm having trouble returning data using module.exports, here's an example of how I'm trying to do module.exports.menu = (app,req,res)=>{ var fs = require('fs'); var patch = 'public/menu'; var conn = app.config.dbSyncSql();...
asked by 31.07.2018 / 14:04
1
answer

Find variable value

Personal I have a candidate registration form. To save to the database it passes the values through the javascript to salvaCandidato.php . I'm trying to make sure that when I send the form the modal appears saying the subscription protocol that...
asked by 26.07.2018 / 23:06