Questions tagged as 'javascript'

1
answer

Difference between InnerHTML and Nodes? [closed]

I need help since I do not know if to use innerhtml or nodes to change, add or remove html elements, I do not find the difference of it beyond the syntax that each one requires, and if they are the same, I should use the most " easy "in terms of...
asked by 19.12.2017 / 03:59
1
answer

Alert of ASP.NET objects in JS

Hi, I would like to know if I can do something like this in ASP.NET, because they know something like that I need to do, please do not eat me if it's a bad question, I see it more as a challenge: 3 var idt = 2; function detailTry(idt)...
asked by 19.12.2017 / 18:21
1
answer

Convert date to Javascript

As I can show the date in a DataTable in asp.net, this is my result but I want to show the date this is my controller public ActionResult loadData() { using (SISTEMAUSGEntities dc = new SISTEMAUSGEntities()) {...
asked by 18.12.2017 / 23:08
1
answer

library JWT DECODE

Good morning. I have a problem with the JWT DECODE library, it turns out that I am using it to decode the token that an API sends me to enter my login. When I use it on my local server it works perfectly, but now that I have my project on the te...
asked by 21.12.2017 / 14:13
3
answers

clear and validate fields

Good evening I am not very advanced programming but I have a form with several fields, what I need is to validate that only numbers or letters are entered according to the field, but to clean the field where it failed after validating. the fi...
asked by 20.12.2017 / 01:35
3
answers

onreadystatechange is it property or method?

A question, like button is an object and onclick its method to be carried out when I do click , why onreadystatechange is a property and not a method? since a xmlhttp (object) I give onreadystatechange as prop...
asked by 20.12.2017 / 12:01
1
answer

onkeyup vs onkeypress - Event pressing Space JavaScript key

onkeyup to check when we lift the key, instead onkeypress values the data when the key is pressed. The problem I have is that my functionality works with onkeyup but with onkeypress does not work. I explain. I h...
asked by 27.12.2017 / 21:41
1
answer

Take Variable JS and take it to PHP WITHOUT JQUERY

* I want to put together an experience system for a game. The idea itself is that within this function: function Experiencia(...parámetros para definir la exp final){ return expC = 50; } ... a process is armed depending on what was f...
asked by 11.12.2017 / 20:50
1
answer

Change different color elements of a svg image

I want to work with the elements of a .svg file such as the one in < circle > that is observed in the code; but in what way can I do with javascript any idea or guidance?, Greetings to all:) <?xml version="1.0" encoding="utf-8"?> &...
asked by 12.12.2017 / 02:31
1
answer

How to hide the social media bar?

Good morning. I have created a contact bar with social networks following a tutorial. I have seen on a website how it has a small arrow to hide this bar and I would like to do the same but not if it is done with javascript or modifying the css t...
asked by 11.12.2017 / 08:54