Questions tagged as 'javascript'

1
answer

how do I keep a selected option after sending a form with plugin select2

I have the following code, I am trying to build an excel-like filter with the select2. well the filter works and it makes the consultations, but I would like to leave or remember the selected options, since if I make a query and then another ......
asked by 28.07.2018 / 00:34
1
answer

How to auto-filter with ng-repeat?

I'm trying to do a self-filtering but when I set the values, it takes them but does not filter the data the code I use is the following .. the filter is here - > <input type="text" id="{{item.descripcion}}" ng-model="searchinput" styl...
asked by 27.07.2018 / 22:17
3
answers

calculate when it starts and when the week ends

How do I generate a function js to do the calculation of when it starts and when the week ends from a day that the user selected. (Taking into account that the only one from Monday to Friday) Example of how it is intended to be, should...
asked by 27.07.2018 / 22:56
0
answers

How to solve a problem with isBefore () in Angular 5?

I find a situation where I have to schedule a valuation on a calendar using angular but my problem is that it can only be possible to schedule on dates after the current day, including the current one, my code is as follows. onDayClick(e) {...
asked by 27.07.2018 / 22:32
1
answer

change link (current) according to click

As I can change according to the clicked link, it is currently in the link and I want it to change to register and data <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integ...
asked by 07.08.2018 / 04:24
0
answers

How to update the data with the button (click) instead of the blur

How I have a huge doubt, I have my table and now I update the data and all I need is to do it by pressing a button and NOT by clicking outside the table with blur. I leave my code, Thank you. <script src="../../js/jquery-3.3.1.min.js"...
asked by 01.08.2018 / 15:51
1
answer

How to pass a JTable to another JTable by omitting the last two Columns? [closed]

I try to pass a JTable1 to JTable2, however I do not want the last 2 columns of the JTable1 to be passed. Thank you in advance !!!     
asked by 01.08.2018 / 16:12
0
answers

How to manipulate a json

I have a json object composed of two arrangements: { "letras": [ "a", "b", "c" ], "numeros": [ 5, 6, 7 ] } Which sent from my controller as follows: $response = new JsonResponse(); $response->se...
asked by 01.08.2018 / 16:27
1
answer

doubt with answer with ajax

We have the following validation with ajax, the idea is to perform a validation of a field with a table. through the following function I send the parameters function val_tipo_venta(c_almacen,c_tipo_venta){ ajax=nuevoAjax(); ajax.open(...
asked by 01.08.2018 / 17:24
1
answer

How do I make an animation in the internal navigation

Good day developers, how are you? My question is the following: How can I possibly do in CSS that when I click on an element of the menu in the header of my page, it takes me to an element of the same page through the internal navigation with...
asked by 30.07.2018 / 03:26