Questions tagged as 'jquery'

1
answer

Export Datatables

I use the JQuery Datatables plugin , and would like to export the data (CSV, Excel, PDF ...) of the tables through custom buttons , instead of the buttons that the plugin itself offers, is it possible? In the red rectangle, the buttons of th...
asked by 05.07.2016 / 20:17
1
answer

fill input with select value in jquery

I'm trying to populate a value dynamically with jquery: In case I want to put the value of the plan value when selected with jquery. Ex: <div class="input-group input-group-lg"> <span class="input-group...
asked by 20.06.2016 / 22:10
2
answers

Upload Json to Google Maps

I'm drawing a polygon on the map of google, I got it, but how big it is was a very repetitive code that I would like to isolate in a .json, but I could not. I tried to do something simple with Jquery loading the file and putting it in a varia...
asked by 21.06.2016 / 14:46
1
answer

How to simulate this PHP function in jQuery?

The below function in PHP will return me an array where the searched word fit, how can I do the same with jQuery? $meuArrayMultidimensional = array(array("campo" => "teste"), array("campo" => "valor qualquer"), array("campo" => "teste...
asked by 24.11.2016 / 23:29
1
answer

Map all divs values and do a math operation

I have the following structure: <div class="product-price"> R$ 140,00 </div> <div class="product-price"> R$ 165,30 </div> <div class="product-price"> R$ 12,55 </div> <div class="product-price"> R$ 25,2...
asked by 25.11.2016 / 14:52
1
answer

Animation of the input radio (materialize) does not accompany the properties

I'm trying to manipulate the radio input dynamically and the checked property of the element is being manipulated correctly, but the field animation does not follow this dynamic, the first time yes, but the others do not. I use the materialize...
asked by 23.12.2016 / 22:45
1
answer

Return from jQuery function

Hello, I'm picking up on something very simple. I have a function in jQuery that checks if there is any open modal on the page. For this it checks the class of <body> and returns 1 if it has modal open and 0 if it does not....
asked by 16.06.2016 / 16:20
1
answer

Doubt when returning string json for FullCalendar event

I have a question. I'm using FullCalendar in a project. I can display the data registered in the bank normally. My problem is in the eventClick: I did so: var date = new Date(); var d = date.getDate(), m = date.getMonth(),...
asked by 29.06.2016 / 04:50
3
answers

Ajax Requests - Tips

It is as follows, I would like a suggestion and tip to make a system correct. For example, today I use jquery and many $ .ajax requests, this is to popular some data, to send form data and etc. But I realized that I'm making too many requests fo...
asked by 13.07.2016 / 19:44
2
answers

How to send form data with onChange event to php

Good morning, someone can help me with the following problem, I want to send data from two fields, one of type text and another of type select option and I want when I click on the selection do the post. Here is my code. HTML <form metho...
asked by 13.07.2016 / 11:36