Questions tagged as 'javascript'

1
answer

Pass Json fix to fix

I have this json var response=[{"ts":"2017-01-01T00:00:00+01:00","v":428},{"ts":"2017-01-02T00:00:00+01:00","v":920}] and I need to pass it to: ["2017-01-01T00:00:00+01:00,428","2017-01-02T00:00:00+01:00,920"] better said take it out o...
asked by 26.05.2017 / 19:07
2
answers

Problems with keypress

I have a problem when inserting rows in the table with the enter key event: it works fine if I put the function with the button, but I do not want to add rows when the button is clicked, if I do not want to add the rows in the table when filling...
asked by 25.05.2017 / 18:38
1
answer

Can it be done in google maps v3?

I have this escript for google maps with which I can click and it shows me in a form its latitude and longitude, it works well and everything. my question is how can I migrate to version 3 of google maps? since the rest of my system is done in t...
asked by 25.05.2017 / 20:07
0
answers

Check if there is a property of an object in an array - Javascript

When creating an object, I store it in memory or in an array variable, for example. If I want to add a new object with an IDENTICAL field that I previously created in the first object, I would have to give me an error: "El nombre que deseas i...
asked by 24.05.2017 / 14:16
1
answer

Function js that assigns height div

Friends, someone can help me, I'm stuck on this (I do not handle the subject very much) How to make a function that assigns the height to a div from the height of a daughter image + 10px or%. here my draft see draft I appreciated the help Post...
asked by 23.05.2017 / 22:31
0
answers

how to include one js file inside another?

I have a file js in which I occupy a function of another file js. but it tells me that it is not defined, do you know how to include one file inside another? <head> <script src="js/funciones_genericas.js"></script> <scr...
asked by 22.05.2017 / 23:46
0
answers

The format and extension of the "file.xls" file do not match

When I save a file from angularjs with a content and save it to an excel file. I get that message in excel and I can not find the solution because for more headers I add is still coming out, some indicate that it is by the kb link others that...
asked by 23.05.2017 / 13:02
1
answer

chainselect ruby on rails, problem with javascript [duplicate]

I try to make a select with a form. Form <%= simple_form_for(@persona) do |f| %> <%= f.error_notification %> <div class="form-inputs"> <%= f.input :identificacion %> <%= f.input :nombre %>...
asked by 07.06.2017 / 14:50
1
answer

Store the value of a variable in an object

I have an interactive calendar, and to add new notes by clicking on the day I extract the format date of that day and store it in a variable, all right up there, the problem is that to be displayed in the Calendar as an "active note" I must add...
asked by 08.06.2017 / 00:28
2
answers

Text below checkbox

I am developing the following interface but as you can see, the text is positioned at the bottom of each checkbox, so it's a bit strange since by default it should be set aside, I'm painting it from javascript, but the final result in the...
asked by 25.05.2017 / 00:27