I have an HTML element select # options that when selecting one of the options it will dynamically add classes to the div # container element, but I need to delete the class that was previously added to this element and then add the new clas...
I'm working with angularjs, I have a query to bring me a user by document number, I return a json with the data, what I need is to access the data idUsuario of that json object to inject it elsewhere, to give a console.log in the variable to whi...
I'm using a tool that offers us an angle that is Angular-scroll where I have a function that executes a scroll up, but I have not tried to get it, please some solution?
<script src="https://ajax.googleapis.com/ajax/libs/angular...
Good afternoon,
I have a doubt, in JavaScript code if I want to print to the user a message that says square meters but that "squares" in a superindice of the letter m, is it possible?
This is the example of how it should look:
Than...
I have a page with 3 div in contenteditable:
<div class="herra">
<div title="Negreta"><b style="font-size: 2em;">N</b></div
<div title="Cursiva"><i style="font-size: 2em;">K</i></div...
Greetings, I am creating a web application to register job vacancies using PHP, MySQL and a bit of Javascript.
My problem is that I want to filter by educational level so that all records do not appear. I thought to use a switch inside PHP but i...
I am trying to create a function with datapikcer information but I can not find a way to do it.
Given a date, for example: (01-09-2017), know what is Monday of this week?
In this case I would have to return (08-28-2017). (That would be a speci...
When input type="text" is added because you have selected a number of siblings > 0 the InnerHtml adds these input, but sends me to hello.html and should not because the input is required.
<!Doctype html>
<html>
<head>
<...
I use the Jquery JTable table, and I want to know how the column is hidden:
Table:
$('#miTabla').jtable({
title : 'Datos Detalle',
paging : true,
pageSize : 10,
pageList : 'minimal',
saveUserPreferences : true,
jquer...
I have a table made with HTML and JavaScript .
var ths = document.getElementsByTagName("th");
var tds = document.getElementsByTagName("td");
for (var i = 0; i < ths.length; i++) {
ths[i].style.color = "red";
}...