Questions tagged as 'jquery'

3
answers

Apply validation functions in the form of a waterfall

I'm developing a system and want to do validations through functions. I have the checkUsername function that does query in the database to return me whether or not it can register with that username. And then you have other function...
asked by 23.07.2014 / 13:49
2
answers

The action is being applied in several elements, instead of one

I have the following code here: link When I click on homeListagemLiBt it shows the buscaAvanHoverDiv div, so perfect! But I'm going to have 20 elements equal, so whenever I click on homeListagemLiBt it shows all busc...
asked by 24.07.2014 / 16:10
2
answers

Combo does not load with call via jquery

I'm trying to fill a dropdown menu which, when the torina is put on a button this works. But since I want this padding to happen automatically as soon as the document is loaded, I jQuery.ready () for this, however, the function it invokes doe...
asked by 29.07.2014 / 15:55
2
answers

How to force the "change" event of an input select, even without choosing another value?

There are two problems: 1 - When loading an input select I tried to use a trigger to force the change, but it did not work. 2 - I have 2 selects. When I actually change the value of the first one, the change event is called and "hides" val...
asked by 22.05.2014 / 20:22
1
answer

Add Chip from materialize if user forgets to click enter

I have a registration screen that has a tags field. As it fills in and press enter, it looks like this: Let'ssayhesignedupbutforgottoenterenterintoatag,forexample: This tag will be lost, when it clicks edit this register will only have...
asked by 12.12.2018 / 14:01
2
answers

Reload php page using ajax with updated data

I use the ajax code to make a post and update a record inside the database. After that I wanted to load the page again without reloading the page. Refers to a product delivery screen. When I click on the delivery button a label with the situatio...
asked by 12.12.2018 / 16:25
3
answers

Sort recently added records dynamically

I make this query in the database to list all the names of the registers ... $('.ordenar').click(function(){ db.transaction(function(tx){ tx.executeSql('SELECT nome FROM cartoes', [], function(tx...
asked by 14.12.2018 / 18:06
1
answer

Generate dynamic id in html and get with JQuery

I have a table in HTML that receives the values coming from the database. Each line of the table, when clicking on the icon I need to pick up the values of this line and when opening the modal show this information in modal. My table: WhenIc...
asked by 12.12.2018 / 16:45
2
answers

How to redirect the page only after confirmation?

The user will click on a link and a confirmation message like "Do you really want to access this page?" appears. If it confirms it, it is redirected, if it deny nothing happens. How can I do this? $(document).ready(function() { $("...
asked by 01.03.2016 / 16:29
1
answer

Save to locationStorage position to maintain when reloading page

When the user clicks on a particular button, the scroll position of an element changes. I would like this action to be stored in LocalStorage, but I do not know how to do it ... can you help me? Here's my script: $('.btn.parteum').click(fun...
asked by 06.12.2018 / 06:07