Questions tagged as 'javascript'

1
answer

How can I debug a web element that only appears in the mouseover event?

I have some popups that give the bookmark information in a google map made with InfoBox. But they appear to me without style. To create it, I followed this answer successfully, but the style of the tooltip, which is not shown, I'm...
asked by 03.08.2016 / 11:42
3
answers

get input value in an HTML table that is generated dynamically?

I have an HTML table that dynamically filled with a table of a BD, to each row that returns I add an input text to add certain information for each row, one row has nothing to do with the others, now it has I have placed a different name for eac...
asked by 26.05.2016 / 20:52
2
answers

localStorage on iPad is reset from time to time

I have a game that I have made that I save some data in "localstorage", but apparently the iOS operating system does a cleaning from time to time and you never know when this cleaning will be. This is a serious problem for my game because it...
asked by 11.05.2016 / 11:48
3
answers

conditional Javascript

How can I do the following in a conditional? $(function () { $("[id*='_btnCheck']").click(function () { var buttonName = $(this).attr('id'); ChannelEve...
asked by 13.05.2016 / 00:11
3
answers

How to reload AJAX result without losing its value?

When I show a result with AJAX, how can I do so with a click button to update that result (not the page)? because if I do it with a reload with JAVASCRIPT, I reload the page and lose the result I got from AJAX     
asked by 16.06.2016 / 20:20
3
answers

addEventListener () returns null

Good afternoon, I'm trying to execute a function when loading the page, if I do it with addEventListener it returns null , but the same function with window. onload works perfectly. Example with window.onload : function saludar() {...
asked by 16.06.2016 / 16:18
2
answers

How to convert string or javascript string to object json? [duplicate]

Through a request to a web service I get this result: It is a string or string of javascript and I want to convert that result to a json object. I am trying it in the following way, but I still do the same: var obj = JSON.parse(J...
asked by 12.07.2016 / 16:32
1
answer

Get cell value GridView

I have not found a way to retrieve the values of a gridview row with jQuery or JavaScript to place it in input . I do not have a code, I only place the most similar one that is to retrieve values from a table. This is how my table looks...
asked by 25.02.2018 / 06:53
2
answers

Print tag html + bootstrap

I have the following box I want to print: Print function: //Imprimir $(document).on('click', '.imprimirDocumento', function() { var divToPrint = document.getElementById('impresion'); var newWin = window.open('', 'P...
asked by 23.02.2018 / 02:42
2
answers

Change the format of the date I receive from YYYY-MM-DD to (February 14, 2018)

I have a question. You can change the date I receive from the BD with my javascript and show it as: "February 14, 2018", since I currently receive "2018-02-14" this is my JS $.ajax({ url: 'datos.php', type: 'post', data: {f...
asked by 15.02.2018 / 00:26