Questions tagged as 'javascript'

1
answer

Pass Data to a modal window with jquery

I have a JS function, which receives a parameter. This function, raise a dialogomodal box with jqueri.UI and I need to know how to pass the parameter, since this dialog box allows the user to select a file, and when it is selected I must pass to...
asked by 13.12.2018 / 21:39
1
answer

Background color in header Jqgrid

I am trying to place the background for the colNames of Jqgrid I wish something like this: I get this by placing the following directly in the Javascript: colNames:['', '<span class="badge bg-green">Orden N°</span>','Pr...
asked by 13.12.2018 / 22:45
2
answers

Insert element type date in an array every determined number of elements

I'm trying to insert a string which is a date every 5 elements that are generated dynamically. const utils = require('./utils'); const moment = require('moment'); const flatpickr = require('flatpickr'); const Spanish = require('flatpi...
asked by 08.12.2018 / 00:42
0
answers

Service Worker does not work when using setInterval in AppComponent

I am using Angular 6. I have a problem with service worker. I want to check in my whole application when there is internet to execute a function, for which I create a setInterval inside the constructor of my AppComponent but doing tests I notice...
asked by 17.12.2018 / 22:58
0
answers

How to replicate these java combobox in Swift

I want to recreate these comboboxes that I have in javascript in Swift to be able to select a country and that only the cities of the country that I select appear and not the cities of the other countries in the list. The problem is that I do...
asked by 17.12.2018 / 22:53
0
answers

Send ARRAY Ajax to PHP and insert in BD - Dynamic

I have a quantity x of inputs which I want to pass through Ajax to a PHP, the problem is that I pass an Array with all the inputs and their contents, but I want that at the moment of inserting a DB, I insert both the content of the input as the...
asked by 17.12.2018 / 22:03
2
answers

Remove the disabled to an html tag with jquery

what I want to do is that depending on the result of my function loadOptions a label is enabled but only when the select is loaded, if it is not enabled but I do not know how to do the condition the problem is punctual I just need to know how to...
asked by 12.12.2018 / 19:25
0
answers

Query does not bring me data when pressing ASP button

Very well I have a form, a table, a button and a text box, the table appears empty apparently does not look for the data, (Pd the query manually if fucniona), but I guess my error is in the query , but I'm not sure ... hc.aspx <asp:Tex...
asked by 12.12.2018 / 16:59
1
answer

How to receive text, files by the put method in laravel 5.6 (api restFULL)

I am developing APIS with laravel 5.6, I have a driver that receives images and text, by post everything works normally for me here I leave the code js JS function registraPET(){ var datos = new FormData();...
asked by 12.12.2018 / 18:03
1
answer

server-side printing

What is the best way to print an HTML on the server side ?. I am generating an HTML on the client side (with javascript and css) to print it (using window.print ()). I do not want to also have to generate it from the server side the print. I wan...
asked by 10.12.2018 / 17:33