Questions tagged as 'javascript'

0
answers

Download Json with for Titanium

I'm having trouble downloading json with arrays, it's just inserting the last result, I do not know how it will insert into each loop. Someone can help me follow the code: My backend: var xhr = Ti.Network.createHTTPClient(); var signos; //v...
asked by 06.12.2016 / 03:32
1
answer

Parsley: customize error message

I'm using the Parsley plugin for form validation and I'm creating some additional validation methods, however, I'm having difficulty personalizing the messages of these functions. According to the site documentation, we can add a custom met...
asked by 08.11.2016 / 20:26
0
answers

Google Calendar Api

I'm having trouble with the Google Calendar Access Token. The problem is this. I have to synchronize the calendar of my application with Google Calendar, being that users will provide their emails for google authentication, which will provide th...
asked by 07.11.2016 / 21:01
4
answers

Passing parameters in JS functions

I'm trying to pass as parameter var vetor[j] to the function to be executed in onClick , however, this value that I pass as parameter always comes as undefined . Why this happens and how to solve the situation? var vetor...
asked by 15.10.2016 / 23:04
1
answer

Use stored value and redirect to chosen page

I have a dropdown list that takes its options from a mysql database. The value is stored in a variable with the Script Js. The button returns the information selected in option 3. After selecting the value it is saved in a variable...
asked by 19.10.2016 / 04:36
0
answers

How to put the address in marker maps

Good afternoon, I have the following code and I would like to know how to include the address in the marker, since I have lat and lng in the database of all points. (This is a gps) var image = '../assets/img/ambulance.png'; var map; var markers...
asked by 25.11.2016 / 15:38
1
answer

Count lines with PHP and JS (Different)

I need a function that helps me count certain divs in my php. I will explain better, I have a product verifier, it works as follows, I enter the product codes in textarea, I put it to fetch it and it does a check in the database. The products it...
asked by 19.10.2016 / 23:29
2
answers

How to send form_tag variables to javascript function? Rails

I'm new to web programming and rails and I have the following question: I have a view that displays a list of foods and a field to fill with the amount of grams I want from each food. I would like to display a text_field_tag for each e...
asked by 27.11.2016 / 06:23
0
answers

Jquery - html - Javascript - Refresh fields from the page when registering information [closed]

Good evening Initially, thank you in advance for those who somehow help me. So, in fact, I do not even know how to search this on google, so I decided to write here to see if there is anything like this. My question is the following, for...
asked by 25.11.2016 / 23:41
0
answers

Access VUE data model by another script

Well I have a data model with the following information in vuejs graficos: { data : { labels: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'], series: [ [5, 2, 4, 2, 0] ] }, options : {...
asked by 04.11.2016 / 02:02