Questions tagged as 'javascript'

1
answer

Error inserting object

I want to insert objects in an array but it does not work $(this).find("input").each(function (index) { console.log('INDEX', index); arreglo.push({index: $(this).val()}); }); arregl...
asked by 03.09.2018 / 16:36
1
answer

Datetimepicker javascript

I have this datepicker, in which I show the blocked dates according to the condition that they are accepted or not, I try to filter now by a new parameter, area_id. If the area_id of the data is equal to the user's, the dates must be shown in or...
asked by 04.09.2018 / 09:39
3
answers

Show input according to type Radio

I am trying to show a input or a textarea depending on a input radio to save the administrative reports. I just want you to give me some guidance, since javascript is not used, considering that it's with javascript or jquery...
asked by 03.09.2018 / 18:19
1
answer

delimit parallax with javascript

I have this scroll link that works perfect when I use it at the end of a page but when I place it in another position the final text "montages" to the next section, example of the overlap (the last text): link I was reviewing the js file...
asked by 05.09.2018 / 04:44
2
answers

Can you EMPTY a table (truncate) every X Minutes?

I have a little doubt, in which I have not found much information. Could something be done, for each "5 minutes" (for example) to empty all the contents of a table? The truth is that I have been investigating, and I have not found any usef...
asked by 04.09.2018 / 20:26
1
answer

Capture F5 and Execute Function

I'm doing a project with jQuery (Ajax y Json especificamente) , where the data I add to my document with JavaScript for which the pages do not have url, and if I do F5 all the data are erased, I try to capture the F5 a...
asked by 17.07.2018 / 22:28
2
answers

Run script generated with PHP after loading AJAX

I have put the following javascript test code but it does not run after loading the page with AJAX. <script> alert('hi'); </script> My AJAX code (in functions.js): function mostrarAJAX(enlace, elem) { $.ajax ({...
asked by 06.08.2018 / 12:03
1
answer

By clicking on the button the span disappears

I have a problem, I have a word that when you load the page each letter has a different color use <style> #word span:nth-child(9n + 1) { color:#ff2222; } #word span:nth-child(9n + 2) { color:#22aa22; } #word span:nth-child(9n + 3)...
asked by 05.08.2018 / 22:58
1
answer

Add row to a table with data from a modal

if you can help me with this question of how to pass the data filled from a form that is in a modal to a new row in a table. And let it accumulate every time you open the modal to fill out the form, and the option to delete the row. This is m...
asked by 07.08.2018 / 22:26
1
answer

I have a question about the type of words detected by the parameters

I noticed something interesting for me that I'm new and it's that I was doing a function in javascript to call it and use it with the event onclick , then when putting the event in the HTML code and put onclick="function("mibg")" a...
asked by 06.08.2018 / 00:51