Is it possible to check broken links in an html file using javascript and if broken is flagging with different color, or flag links that are not broken with a specific color like when they are visited?
I have this script that lists the links...
How to add value to text?
And how do you make it stay in this format? for example: ADQ2018060601513610 (20 characters)
Example:
function insertNewSigCdAdq() {
var pkchaves = document.getElementById("txtPkChaves").style;
p...
Why does the following code return NaN (Not a Number)? - and how to return the result of (balance) * (index) in number?
function ContaPoupanca(){
this.saldo = 0;
this.deposita = function(valor){
t...
I need to simulate an input as if someone is typing this includes calling the Keyup, KeyDown, Keypress, Change etc events.
Just javascript even without JQuery.
I have an array of objects and I'm not able to push a given object, eg I want to give a push in the id2 title but nothing I did worked out, follow the structure of the array if someone knows how to thank
Objt =
[{ titulo1:
[
{...
I'm doing this program for a college job with HTML CSS and JS.
But whenever I click on calculate the page reloads and the result consequently somo.
I've already tried other questions here and in other forums but I did not find anything that work...
Good afternoon!
How can I get only a part of a current url?
For example, let's say I have the following url:
link
I would like to get only the value that comes after ?ip= in this case dispensacao#15
Thank you
I'm developing a WEB system and at the time of printing the precise screen I put at the end of each page a imagem , is it possible?
So far I have the following code:
.hide{
display: none;
}
<!DOCTYPE html>
<h...
I have the following object
json1:{A:1, B:2}
json2:{A:4, C:3}
How do I get json1 to get data from json2 , overriding if it finds an equal key and moving if it does not find, more or less what json1 would result in:
jso...