Questions tagged as 'javascript'

0
answers

Use div id and value for a query in SQL

As the title says, I would like to know how to capture the div id or value and thus be able to use it as a query in SQL server This is my code: <?php define('DB_SERVER','1.2.3.4'); define('DB_NAME','database'); define('DB_USER','sa'); de...
asked by 03.01.2019 / 22:48
0
answers

Find value of a text Input in a database and bring it to a field

I'm a bit confused and disoriented, I need to search in a database, the value that is selected from this code and bring a record. I do not know if I'm letting myself be understood. From this list (user) I select JPEREZ and I consult in the table...
asked by 20.12.2018 / 19:30
0
answers

JScharts php error

I'm trying to make a JScharts graphic by filling the content with an array that I generate with PHP and MYSQL, but when loading the page it does not load the array well. This is my PHP file: $sql = "SELECT DISTINCT MONTH(fecha_entrega) AS m...
asked by 20.12.2018 / 20:41
1
answer

how do I send ZPL commands from node js?

Best regards to all: Veran I am trying to print a label with the language of zebra, from node js So far it has been possible to connect to the zebra printer (S4M) and print. The problem I have is that it only prints plain text and does not inter...
asked by 20.12.2018 / 18:34
0
answers

Edit commands and buttons in Kendo UI + Vuejs

Dear, someone can explain to me how to edit the commands provided by Kendo UI when creating a tree list table. That is, change the name of 'edit' to edit and also add features to taste. <kendo-treelist data-source-ref="remoteDataSource"...
asked by 20.12.2018 / 14:14
1
answer

When doing POST I do not correctly recover the value of a radio button

I try to describe my scenario. I have a view that contains two radio buttons and depending on which one is selected, a partial or another view is displayed. @Html.RadioButtonFor(model => model.TipoVP, new String("VP_A".ToCharArray()), new...
asked by 20.12.2018 / 14:21
1
answer

Search for an element in a MongoDB database using Nodejs

Alright, here I have a code where I have my Express server, the connection to the database and apparently everything works fine. const express = require('express'); const path = require('path'); const cookieParser = require('cookie-parser'); c...
asked by 22.12.2018 / 18:53
1
answer

How to convert image with canvas to base64 using toDataURL?

I would like to know how I can convert to base64 an image that I have stored on my computer that has a url like this (folder / id / img.jpg) So far I have tried this but it does not work for me, when I do the console.log and I see the data pa...
asked by 20.12.2018 / 01:28
0
answers

recover file (js) after unexpected closure

Good morning. yesterday I was working on my visual studio project when he gave me a blue screenshot of windows. when I reboot the machine, I get the fact that the js file in which I worked was corrupted, everything appears to me and the last bac...
asked by 20.12.2018 / 10:16
0
answers

How can I prevent ajaxStart from running?

I have a code that shows a load symbol when there is an ajax query, everything works well the question is that I have done a dynamic select2 that loads the data with ajax and I find it annoying that when I write in the input the symbol appears i...
asked by 20.12.2018 / 03:56