Questions tagged as 'javascript'

1
answer

how to create a switch case within a path in DATATABLES?

I'm painting the data brought from the database in datatables , the problem is that I need to validate a data to be able to paint a badge in the GUI , and I look for the way to do with a switch since if I use a if...
asked by 26.04.2017 / 16:21
1
answer

SVG graph, with embedded javascript, I use getElementById () does not work correctly in IE11

I want to modify or see some values when I focus on an element of an SVG drawing. This works correctly in Chrome and Firefox. But when using IE11, it does not work. What could be the cause? Are there some JS libraries that resolve these incompat...
asked by 03.09.2017 / 01:32
1
answer

Validate input with jQuery and regular expressions

I am working with ASP.NET MVC5, and trying to validate an input with jQuery and regular expressions. What I'm trying to do is input only letters including 'ñ' and vowels with tilde. Code: $('#RazonSocial').on('keypress', function (e)...
asked by 20.01.2017 / 04:16
4
answers

How to make a function fire after the entire document is loaded?

Currently I get a count of rows through a small query and I send this result to my main page that is created in asp.net Currently I'm doing it in these ways and none of them have worked for me. Form 1 <script type="text/javascript"&...
asked by 24.01.2017 / 17:03
1
answer

Button reset timer count JavaScript

I'm doing a timer in JavaScript and I want to program the Reset button to save the value entered in the example input: Hours = 0, Minutes = 20, seconds = 0 When I start the counting start from 00:20:00, so on Thank you very much $(doc...
asked by 09.11.2016 / 21:26
1
answer

Uncaught TypeError: Can not read property '3' of undefined

I have a problem in javascript and I do not see how to solve it. I have looked at other people with a similar error message, and what it looks like is that a property does not have an object, but in my case it does (or at least I think so) Th...
asked by 15.11.2016 / 11:28
2
answers

Help with javascript object

I have a problem wanting to walk an object with. for(var i in object){ console.log(object[i]); } does not show anything, does not enter the for. also when I do console.log(object); // si muestra valores console.log(Object.keys(object)...
asked by 07.07.2017 / 04:41
2
answers

Share ID but it only works in the first

Only recognizes the attributes and values of the first ID, does not respect the following. I show my code below: index.php <button type="button" id="boton_uno" class="boton-estado">Boton 1</button>&nbsp;&nbsp;&nbsp...
asked by 23.11.2016 / 15:14
1
answer

Get image of an external Url with Html2canvas

Dear: I do not know much canvas , but I tried to make a screnshoot of a web page through the URL . Is this possible with html2canvas ? since I have done it with other functions, but they do not allow me to capture the entire...
asked by 20.12.2016 / 23:27
1
answer

FullCalendar plugin 3.1.0 is not displayed correctly

I can not get FullCalendar to be displayed correctly in my blade template of Laravel , I do not know what I'm doing wrong. The result I get is the following: It is supposed to look like this: I'm using Laravel 5.3 , jQue...
asked by 21.12.2016 / 01:47