I'm starting in JavaScript and I saw that now to concatenate strings you can use ${} , the issue is when you use it Chrome does not detect it:
var nicolas ={
nombre :"Nicolas",
apellido :"Gigena",
edad : 19
}
var pepe...
Well, I'm running the following code that modifies the content of the iframe, and since both pages are in my site this goes without problems (it's not the problem):
<!DOCTYPE html>
<html>
<body>
<iframe id="myframe" src="d...
I want checkbox not Radiobutton both id serve to show and hide DIV and value send me value to the controller
<div class="row">
<div class="col-lg-5">
<input type="checkbox" name="tipoGrado" id="che...
I have to enter two numbers and you have to tell me if they are even or odd. It is half done but I try it and I directly jump the alert of the else, regardless of whether the numbers are even or not.
<script type="text/javascript">...
I am trying to implement a system that when the user enters numeric data in a textarea, these will be separated by a comma every two values. As an example, another part of the program consists of pressing a button to generate a random number bet...
I'm trying to perform a quadratic function and it returns NaN
Can you help me please?
var a= parseInt(prompt());
var b= parseInt(prompt());
var c= parseInt(prompt());
var d=Math.sqrt(b-4*a*c);
var e=d-b;
e=e/(2*a);
document.write("<p>"+e...
I have a problem with the date () function of javascript what I want is to convert from a string to a date but convert the date minus 1 day.
function myFunction() {
var d = new Date('2018-02-28');
var n = d.toString();
document.getElementById(...
How can I change the text of the buttons that appear in the function confirm() of JavaScript?
The default texts are "Accept" and "Cancel". I would like to put "Yes" and "No". Any ideas?