Questions tagged as 'javascript'

2
answers

Sort by name in alphabetical order

I have some entries that have the option to filter alphabetically by name .. I enter these entries through append like this: $(".listagem").append( '<div class="row" id="corpo-cartoes"> <div class="col s12 m7" style="width...
asked by 17.12.2018 / 12:40
1
answer

Is it possible to get the color of a pixel in a gradient element?

Imagine that I have a div element with the following CSS: .minha-div{ width:100px;height:100px; background:linear-grandient(45deg, orange, red); } Is it possible that when I hover over this div , it tells me the color o...
asked by 02.06.2014 / 18:25
1
answer

JSON Structure for HighChart Line

I would like to know what would be the correct structure for creating a LINE chart in HighCharts with dynamic data: Example link Home I have values that I want to show in a row, its evolution during the months, but I do not have all the months...
asked by 03.06.2014 / 18:56
2
answers

Quit get request as soon as you start another

In my ecommerce has a search field. As the user goes typing, it returns a list of products in a div below the search field. this is 100% In the label I put an onkeyup that performs a function that searches the product list and displays. this...
asked by 12.03.2015 / 14:14
1
answer

How to send an array to a variable with Json

<!DOCTYPE html > <html> <head> <link rel="stylesheet" href="demos.css" type="text/css" media="screen" /> <script src="/sistema/jquery/plugins/RGraph/libraries/RGraph.common.core.js"></script> <scrip...
asked by 13.03.2015 / 14:52
1
answer

How to load plugins already configured after page load by ajax

I have a page that has a form In this way, it contains some inputs, which have classes, eg: <input type="text" class="datepicker"> <input type="text" class="marcara-cpf"> And the configuration of some of the plugins is...
asked by 07.03.2015 / 15:24
4
answers

Creating elements with jQuery

How to create elements with jQuery ? I'll try to explain ... I have 2 screens, card registration and card display . For each registered card, I send it to the server and insert it into the internal database. So far so good....
asked by 03.10.2018 / 22:11
1
answer

Conflict with prototype

I have a question that is ending my nights .... I use the magento version 1.9 .... more when I installed the ecomdev module to do the freight calculation on the product page it informs me an error clicking on calculate freight ... Uncau...
asked by 10.03.2015 / 18:57
1
answer

On ("Click") JavaScript does not work [duplicate]

I made a script to get the value of an element that is generated in php, whenever this element is clicked but it is not working <script> $('.collection-item').on('click',function(){ var idA = $(".collection-item").val(...
asked by 26.09.2018 / 05:42
4
answers

Upload file with AJAX

I would like to know if there is any simple way to upload files via AJAX + JSON. If there is one, what would it be?     
asked by 18.03.2014 / 18:55