Questions tagged as 'javascript'

1
answer

Avoid passing values twice

When I click on the checkbox it adds the values I have to another table but what I want to avoid if you click again checkbox to avoid adding again its value since the other table already has it. Html where I extract the values &l...
asked by 18.12.2016 / 08:53
1
answer

Open Pop up with several buttons

I can not get several buttons to open a single popup. This is how I did it: <div class="popup"> <div id="myModal" class="modal"> <div class="modal-content"> <span class="close">&times;</span>...
asked by 05.10.2018 / 21:33
1
answer

How to store variable in JavaScript until reloading page?

My question is based solely on whether there is the possibility of entering a variable through a prompt() and that it is saved no matter how many times the code is run afterwards, and it is deleted only when the page is reloaded or manual...
asked by 12.08.2018 / 07:22
2
answers

Protect my code in php, laravel, javascript and css

Some time ago I asked this question: How to give an understandable format or ID to a css and / or js file? , now what I'm looking for is the reverse process of that. that is: having a certain code: $("#btn_load").click(function(e){...
asked by 16.08.2018 / 14:38
2
answers

Return of a promise then () for each element of an array

When loading the page filled an array with a $ .each and one of the values is an id of a parameter and I need to draw based on that id the description to show in a table, I have the function that returns the description but I can not load it to...
asked by 14.08.2018 / 19:19
2
answers

SignalR does not update ng-view when changing pages

1.- It's a simple ng-route, I have 3 buttons, each button navigates to a new route. 2.- I have a father controller and a son controller for the ng-view 3.- For the ng-view I have a template with a span linked to the property...
asked by 25.04.2016 / 15:09
2
answers

Distribute the jQuery code in several .js

With reference to this question: How to include a JavaScript file to another Javascript file without using JQuery? I have a js of very large jQuery code, so, having everything a little more orderly, it occurred to me to create several js...
asked by 28.10.2018 / 12:33
2
answers

Clean Inputs and TextArea of a form in a Modal of Bootstrap

The code of the table with the buttons is as follows: <table class="table table-striped"> <thead> <tr> <th>Fecha</th> <th>Título</th> <th>Estado</th>...
asked by 27.10.2018 / 16:26
1
answer

Nivo Slider does not upload the images

Why does not my page load the images? I'm doing a slider with plugin Nivo Slider , and suddenly I set an error in my code javascript , and modify it in several ways, but I still have the same error, He tells m...
asked by 30.07.2018 / 16:56
1
answer

show an error message or block if the time and date of the computer is not correct php

I need to do with php a time check, one that shows me an error message if the time of the computer is less than the server that shows an alert message, so far with much help I got bring the 2 dates but, the values of the 2 as such are not remote...
asked by 31.07.2018 / 20:58