Questions tagged as 'jquery'

1
answer

Tab system with jQuery

Galera I mounted a system of tabs using jQuery. Follow it below. $('ul.tabs li').click(function(){ var tab_id = $(this).attr('data-tab'); $('ul.tabs li').removeClass('current'); $('.tab-content').removeClass('current');...
asked by 06.08.2016 / 19:12
1
answer

Unread array with index defined in input

see below the following code: <input type="text" id="task" name="task[]" value="100" /> <input type="text" id="task" name="task[]" value="110" /> <input type="text" id="task" name="task[]" value="120" /> And in jquery, I r...
asked by 19.09.2016 / 16:15
1
answer

How to load a url inside the modal bootstrap?

Hello everyone, I would like to address a bit of how to load content (html) from a url into a modal bootstrap.     
asked by 20.09.2016 / 00:25
1
answer

Problem with line break JS

The problem is this, when breaking the line in textarea in div .result where it is supposed to appear the result of what is typed in textarea , it only gives a space and does not break the line. How do I break the line w...
asked by 06.08.2016 / 06:03
1
answer

capture value of another input with jQuery

Galera I put up a system that when entering the user name in an input, jQuery captures the name and calls a php file. Which in turn makes a query in the DB and populates a select list. Well, the structure looks like this: function busca...
asked by 18.10.2016 / 13:29
1
answer

make automatic line wrap with bank data

Hello, I have a ul with li's that are given product names. It turns out that when I change the resolution to mobile, for example 320px , then if the product name is large, then it will not fit within the li that will have the...
asked by 17.10.2016 / 17:32
1
answer

Hide button (p: commandbutton), Primefaces, with api PF

I'm trying to accomplish something seemingly simple, but I'm taking a damn spanking ... Studying, I read that Primefaces has a javascript / javascript api, so I decided to take a look. It turns out that I can not hide a button in any way, tried...
asked by 17.10.2016 / 19:48
1
answer

I want to use ajax to simply update a table that reflects the database, without refreshing the page

I have the index.php, which has side by side an insert form and a table that reflects the bank, does not need to have timeout, just want it when I make a new record in the table, it will appear in the table next, without doing refresh in the pag...
asked by 14.07.2016 / 22:05
1
answer

Problems with calculations with jquery.maskMoney

I have a javascript that makes the perfect calculation between 3 inputs. Being them. 1- COST, you get the cost of a product 2- SALE, receive the sales price, and automatically calculate the profit margin 3% PROFIT, receive the profit and auto...
asked by 15.07.2016 / 22:00
1
answer

Fixed menu appearing when scrolling the page

I have this container there that will have a menu inside and it is fixed at the top, I would like to know how do I make it appear only when it is scrolling down the page, and disappearing when it is scrolling up, I have seen other example only t...
asked by 01.08.2016 / 09:37