Questions tagged as 'javascript'

2
answers

Problems with javascript and google maps API

I'm trying to calculate the distance between these two points but I can not! I would like to find out what the problem is. On the console, a 404 error occurs: distancia.html:14 Uncaught ReferenceError: google is not defined at distan...
asked by 04.09.2017 / 23:08
1
answer

Problem creating a field with add and remove dynamic

So I am doing a clinic registration form and in this form has a Specialties field that takes the data from another database and shows the list options to choose from, I am trying to put a add button and a remove it so that if you register more th...
asked by 05.09.2017 / 00:28
1
answer

Mobile phone form, auto phone complete

I'm starting my studies, I wanted to know how to do when I type in the form the phone number EX: 00000000000, the form go completing the fields ex: (00) 0 00000000     
asked by 20.10.2017 / 03:38
1
answer

Object Keys from a JSON is saving the last value

People when I run Object Keys it captures every Array of the Object and updates the data of component only not all, and the output only comes with the last Array value: var obj = { index: { path: "/", component...
asked by 20.10.2017 / 22:46
1
answer

Jquery - Select and deselect elements on the page

I have a screen with several divs that are draggable. However, when the user clicks on them, I need to create a border around them and add some options (delete, for example). But when I clicked off this element, I want it to come out of th...
asked by 15.09.2017 / 18:22
1
answer

Javascript Calculate Portion of a value coming from checkboxs

I have here a code for when checkboxes are selected add a value to a label, and another code for the user to type in an input the total value and select the amount of parcels for the operation to take. My question is as follows, how can I do tha...
asked by 15.09.2017 / 14:14
1
answer

Hide Div in IOS

I have a redirect button for whatsapp on my site that does not work on ios, would I have some way to hide it just for that OS? In case it is inside a href in html, it would suffice to hide it when the user is using iOS.     
asked by 15.09.2017 / 17:19
2
answers

Javascript Json

Hello everyone, I need to mount an object of this type: {y: "2017-8", a: 0, b: 0, c: 2, d: 0, …} The letters go up to h, but may vary from one user to another, I'm putting together a graph Morris.Line line. My server returns an array: [...
asked by 15.09.2017 / 01:57
2
answers

Change the table row icon when clicking dynamically?

I have a table structure as follows: <table id="example" class="table table-striped table-bordered table-hover"> <thead> <tr> <th></th> <th>Razão Social</th> <th>CNPJ</th> <th>CEP<...
asked by 24.08.2017 / 17:14
1
answer

Take only part of the input content without submitting [duplicate]

I am creating a gallery of images using the responsivefilemanager plugin and there is a problem that I can not solve. See this image: Clickingthebluebutton(Withthefoldersymbol)opensaModalinwhichIcancreatefolders,uploadimagesetc.WhenIsel...
asked by 24.08.2017 / 05:01