Questions tagged as 'javascript'

2
answers

How to fill the radio button with javascript with data from the BD? [closed]

I need that when loading the page the radio button is selected with the data of the database.     
asked by 04.12.2018 / 18:39
1
answer

I can not make a soft Scroll

I can not do a progressive Scroll from a text animation to the contact section. div class="wrapper"> <article id="shufle"> <div class="container"> <p class="fading-texts text-center"> <...
asked by 24.06.2017 / 14:19
1
answer

Collect the IDs for JavaScript error

Tegno is formulated in JavaScript: function formula() { var cantidad = document.form1.cantidad.value; var precio_unitario = document.form1.precio_unitario.value; var total = document.form1.total.value; try{ cantidad = (isNaN(parseInt(cant...
asked by 19.09.2017 / 10:39
1
answer

celebrate npm package with Nest Framework

There is some way to use the NPM celebrate package with Nest Framework ? In the documentation only refer to class-validator , but although this has many advantages I used with Express and other frameworks the middleware celebrate to v...
asked by 12.12.2018 / 18:35
1
answer

Understanding the escape sequences in javascript

I have trouble understanding the usefulness of escape sequences. To introduce some special characters inside a string of characters that can not be represented by text, we use what are commonly called escape sequences. source: link I...
asked by 09.11.2018 / 22:07
1
answer

Run a script from ajax

I have created a file called catalogo.php in which 2 HTML controls of type select are found; one that shows the brand of the products, and the other that shows the products according to the selected brand. File content catalo...
asked by 27.06.2016 / 21:32
1
answer

validate a variable in jquery validate

I am using jquery.validate and I have the following problem, I have an image field, that when the image does not exist I fill it with a img by default ... but I need that field to be required and it is not an option have the defaul...
asked by 06.09.2016 / 15:49
2
answers

Replace the letter "o" with "x"

I have the following problem: In JavaScript I enter a text with prompt (); and for example the user enters "hello world" so what I am trying to do is to read "hxla mundxx" " As they see replace the "o" with the "x" but they increase as let...
asked by 24.05.2018 / 13:31
1
answer

Google maps (doubt)

Good day valuable community! I would need to know how I can validate an address in google maps and tell it that if it is outside the range of latitude it is not validated. This is very difficult to do? Is any type of sdk other than the static...
asked by 30.10.2018 / 13:37
2
answers

insert data in html table

I am trying to create a mini system that, at random, allows me to select the winner of a prize for employees in the company where I work. I get a random data and I can show it in a td with an id ="listadeganadores" , what I want is...
asked by 27.01.2018 / 22:30