Questions tagged as 'jquery'

1
answer

Submit form and update div content

I have two select option with districts and counties. Through JSON I can filter the districts with the councils only now I want to do the search the database. I want to submit form with the two choices and update the div tha...
asked by 18.02.2015 / 23:00
2
answers

Back to top button just scroll to top

I have the following question. I created a simple button to go back to the top of the page: <a href="page-top" class="back-to-top">Back to Top</a> <script> $(document).ready(function(){ var btt = $(...
asked by 23.02.2015 / 18:58
1
answer

Plugin to sort images in an array

I'm looking for a javascript or jQuery plugin that allows me to have a table of images (for example, 6 x 6) and through drag 'n' drop or just clicks, allow me to reposition between them. I've already looked through all the search terms that I re...
asked by 07.02.2015 / 23:55
1
answer

Send the data from one table to another

And the following, I have an entity called Post where there is a post record and I have an entity called Machine. The objective is: Haveatableequaltowherewecreatedamachineandthebuttonswhereyouareviewingandeditinginsteadofthoseyouwillhavetoconver...
asked by 05.02.2015 / 18:30
1
answer

Position insert bar in editable jquery div

I'm using the summernote API as the editor for email, it creates a div to be used as textarea. The only reference that leaves is the "note-editable" class. I made a code to replace a word with a tag with content-editable false so that the user t...
asked by 03.02.2015 / 18:41
1
answer

Event close on click of the Boostrap datepicker

Using jQueryUI's datepicker by default the click event on the date and datepicker close works. How can I do this in the bootstrap datepicker ? JS: $('#data').datepicker({ format: 'dd/mm/yyyy', language: 'pt-BR', }); HTML: &...
asked by 01.02.2015 / 03:43
1
answer

Sum ignoring number off

In my system, I dynamically generate columns with dates based on a received parameter, constructing a table where in X I have products and Y have the quantity that comes in each package, date relation in the th with inputs to type how man...
asked by 16.03.2015 / 15:23
1
answer

Problem with currency mask in Primefaces

I'm using JSF, and my currency mask is not working, did I get into any of the code? here is the code below <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">...
asked by 17.03.2015 / 16:36
1
answer

Show a div with jQuery

I'm trying to show two divs ( container-imagem-upload , container-tipo-video ), but it did not work. It is showing div and disappearing. CSS .container-tipo-video {margin-top: 50px; display: none;} .contain...
asked by 16.03.2015 / 01:19
2
answers

I do not know how to read the array encoded with PHP in json

I'm not getting jQuery Ajax to read this array encoded with PHP: [{"voo_Cod":"1","voo_CidadeOrigem":"1","voo_CidadeDestino":"2","voo_Data":"2015-07-13 07:00:00","voo_Preco":"200"}] My code in jquery, <script> $(func...
asked by 06.07.2015 / 03:06