Questions tagged as 'javascript'

0
answers

Variables declared in script are lost in page

Good morning. My problem is that I have an old project to which I must fix some things, but this has problems using variables declared as in any other page. This is the scenario: To avoid putting so much code, the page generates dynamic ta...
asked by 13.04.2018 / 23:30
0
answers

How to create a JSON to be used in ItemFileReadStore?

I have to generate a JSON to be read by ItemFileReadStore. I need to create more than 15 columns, how do I represent that? I have read the documentation and it seems that it follows a certain structure: Dojo's official website Currently I h...
asked by 09.04.2018 / 08:34
0
answers

place variables in the Coordinates in OpenLayers Map marker

I have the following code in which I try to enter markers on a map (the latitude, longitude comes from the database). I bring it with an array and I go through it with a for, the variables I tried with an alert but when I want the markers to be...
asked by 09.04.2018 / 15:56
0
answers

take average of two or more different dates

I have a problem that I have not been able to solve for many days and is able to get a general average of two different dates, I will leave the code javascript and the code laravel to help me Take this little code because the re...
asked by 09.04.2018 / 15:19
0
answers

Help With database in Angular 4

I am developing a web app in angular, I already did the ApiRest and I tried it with Postman and good in theory (I'm not sure) all the code in angular is fine since it does not throw any errors, but the data I add from the form is not saved in th...
asked by 08.04.2018 / 21:38
1
answer

Problems reading a JSON

I'm having a problem when traversing a JSON. I show you the code. client.search(buscar).then(images => { let imgjson = JSON.stringify(images, ["url"], 4); METODO.PARA.MOSTRAR(imgjson); }); Well, I explain. what I...
asked by 09.04.2018 / 16:30
1
answer

Convert Labels to Inputs while preserving Value

I would like to know how, within a table I can change the labels of a particular tr (with several td, each with its label), without deleting the table and keeping the value of the labels. -I've been testing with innerHTML, but it replaces the...
asked by 16.04.2018 / 10:01
1
answer

How to save a PDF generated with DOMPDF on an FTP server or on a local server?

Developing a site for my company, a site was developed that is exported to PDF using DOMPDF, being the only difficulty to save it in the company's servers, or in dropbox, Google Drive, OneDrive or an FTP folder. How can I do this using PHP, mysq...
asked by 16.04.2018 / 14:24
0
answers

Variables $ _SESSION

I have a variable session called index that is created in another file with the value 1, and sisque index is equal to 1 it shows me a response <H4>Respuesta</H4> , and with a button I call a javascript function that change the...
asked by 10.04.2018 / 05:48
3
answers

validate that you have typed numbers and points

How to check if a user typed in one of several input of the same class, only characters characters from 0 to 9 and points ... not allowing me to only type those values if not typing validate with the event Keyup $(document).ready(function() {...
asked by 06.04.2018 / 21:05