Questions tagged as 'javascript'

0
answers

How do I get access to install modules?

I want to install a node module globally in windows and the following happens to me: and then this appears in the vsCode:     
asked by 17.10.2017 / 01:30
1
answer

Show the value of the slider on the displaceable element

How are they all? I have a slider to select a range of values, but I can not get these values to show above the moving element. That is, I need the numbers to be fixed on the circle while it is displaced. To make the slider I used this tutorial...
asked by 14.10.2017 / 00:10
1
answer

Display text within an input

I would like to know how I can insert text in a text input box, my function is this: <script> document.getElementById("btn_calcular").onclick = function () { //tomamos el valor de los nombres de los puentes let nombre_puentes =...
asked by 14.10.2017 / 03:47
1
answer

How can I modify the total value when modifying a quantity or unit price data?

<div class="caja6">      DETAIL MATERIALS, SPARE PARTS AND SUPPLIES       <br> <div class="form-group"> <label for="tablaDetalleMaterialEinsumo"> <div class='btn btn-success' id="btnNuevaDetalleMaterial...
asked by 14.10.2017 / 17:10
0
answers

Validation duplicate registration in form with Javascript

I have a Javascript form that makes a Post to a table to generate an invoice of products everything does a great job. I need to validate that one of my data (the product code) is not already in my data to avoid double records when generating...
asked by 13.10.2017 / 12:01
1
answer

Get 3 names and show them sorted

I have a problem, it turns out that in my code, I have three names defined with the Array, but how can I request that my program first request the three names, that is, the user write 3 names whatever they are, sort alphabetically and then show...
asked by 14.10.2017 / 23:47
1
answer

how I generate a toast for each button

How can I do it so that in the message of the toast I generate the content I want. according to the button where you clicked. <!DOCTYPE html> <html> <head> <style> #snackbar { visibility: hidden; min...
asked by 15.10.2017 / 09:47
1
answer

Problem filtering arrangements in JS

I have the following scenario: var myApp = angular.module('myApp',[]).controller("MyCtrl", MyCtrl); function MyCtrl($scope) { $scope.telas = [{"ID":1,"Nombre":"Beige","Marca":{"ID":1,"Nombre":"Genérica"},"Material":{"ID":1,"Nombre"...
asked by 15.10.2017 / 19:15
1
answer

Character length calculation in javascript conditions

Hello, good afternoon, I have this problem in javascript: I have an advance in which this javascript tells you through a text box, how many characters and words you write and sends it on a screen, but I require this to be done with a menu, wh...
asked by 14.10.2017 / 20:54
0
answers

Disable the cache and the "back" button of the browser

I try to avoid on a web with Wordpress that after completing the user a CF7 form and get to the Thank you page, I can go back, disabling the browser button and erasing the cache. For this, following the indications of Juliopari ( link ) I hav...
asked by 15.10.2017 / 10:31