Questions tagged as 'javascript'

1
answer

How do I install local amcharts?

In this example it works perfect. var chartData = [ { "country": "USA", "visits": 4252 }, { "country": "China", "visits": 1882 }, { "country": "Japan", "visits": 1809 }, { "country": "Germany",...
asked by 12.09.2017 / 04:41
2
answers

Failed to confirm () in JavaScript [duplicate]

I have a functionality so that when you want to delete a Patient by clicking on delete, ask if you really want to delete it or not. It shows the question, but when I give it to cancel it erases it to me equally and if I give it to accept it...
asked by 24.08.2017 / 21:50
2
answers

The find () function of Array does not work in IE11

I have the following code and IE11 does not work var tipo = {datos:[ {id:'',color:'#F9F9F9',icon:'  ',name:'system'}, {id:'20',color:'#a7c5e8',icon:'  ',name:'company'}, {id:'3',color:'#DDD...
asked by 20.12.2018 / 11:10
2
answers

How to convert a variable from undefined to empty

Currently I have the following function where I get certain values. $('#listado-sucursales').on('change', '.sucursal_correo', function (e) { console.log("Obteniendo sucursal"); let sucursal_correos = $(this).closest('.tr_correos');...
asked by 20.12.2018 / 01:09
4
answers

Datatables jquery ajax error canceled

I'm doing a catalog of kardex of the employee where I have 2 instances of the datatables plugin jquery : The first request is done correctly but the second one sends an error ajax canceled . I am not very clear why this error is...
asked by 06.01.2016 / 17:57
3
answers

Jquery methods "keypress" and "blur" do not work

Create 2 functions that are validating an input so that only letters are not written, the problem is that I do not know why the code I am putting is not running, here I leave it. <!DOCTYPE html> <html> <head> <...
asked by 28.12.2018 / 21:19
2
answers

Compare if a string contains a word

I have the following problem I need to do an if that compares if a word is inside a string separated by spaces, and that is not sensitive to mayus / minus. var name = "Lupa 163"; if (name == 'lupa'){ console.log("Es verdad"...
asked by 21.12.2018 / 09:06
1
answer

Use of td and tr

What can I do to make the employee's name horizontal and not vertical as shown in the image Here is how I use it in td     
asked by 17.10.2018 / 17:05
2
answers

because I get the error "Uncaught ReferenceError: slider1 is not defined at onload"

I can not understand why I get the error I mention in the title "index.php: 111 Uncaught ReferenceError: slider1 is not defined     at onload " If someone very kind could help me, function uhrzeit(anzeige) { Heute = new Date();...
asked by 18.10.2018 / 05:28
4
answers

Remove commas from an input js?

Cordial Greeting. I tell you what I want to do: I have an input that captures a value: example: 500,000 I capture that input with Js, and I want to remove the comma to make some calculations. How can I do it? var TotalDe...
asked by 26.10.2018 / 15:25