Questions tagged as 'jquery'

1
answer

Sending two or more request by form with ajax or HTML

Good afternoon people, I want to know how I can send more than one form request to my Controller to make the relationship in the bank? I have a N: M relationship with User and Group, but when I submit it on the form it only considers one valu...
asked by 12.03.2018 / 17:48
4
answers

Validation for Phone type field

Would anyone have any validation for phone type field? Where the user can not put fictitious numbers in the field as sequences of number (99999 8888 123456) or something of the type?     
asked by 12.03.2018 / 14:58
1
answer

Download Automatically

I have a project that uses GoPhish for internal campaigns. This tool has an HTML editor that generates the page in question. The problem I need to be allocated on this page is an Automatic Download, but if I put a href or windows location for au...
asked by 07.03.2018 / 23:07
1
answer

Browser back button does not work after history.pushstate ()

I'm working on a page that loads part of the content by javascript. I am succeeding and even generates and adds a new url to the browser history. function FiltraItens(criterio){ var UrlJson = baseUrl + "//Json/Listas/ListarItens/"; $.ajax({ m...
asked by 16.03.2018 / 13:34
1
answer

How to clear search results in a list after clicking a button?

I have a list of items and a search field that filters this list as something is typed in this box. I also have a reset button that clears the search box and focuses on it, but does not clean the filtered results based on what was typed....
asked by 17.03.2018 / 02:33
1
answer

Calculation using filled fields jQuery

I have the following fields: moeda, taxa_compra, taxa_venda, valor_reais, valor_total I need you to calculate, when filling sales tax, taxa_venda / valor_reais e represente o total no valor_total. How can I set up a jquery to do this?...
asked by 04.03.2018 / 15:44
1
answer

How to delete a TAB and its Div and check if it is the last item?

Here is the code for my attempt: $(function() { //for que inicie o tabs e depois de um refresh em todos os tabs existentes. for (var i = 0; i <= 9; i++) { for (var j = 0; j <= 9; j++) { for (var k = 0; k <...
asked by 01.03.2018 / 22:50
2
answers

Remove Class from a parent div based on the child element class

I'm using LazySizes to upload images progressively. link This is the style of my project <div class="image-wrap"> <img class="lazyload" src=""> </div> When the images are loading, the IMG tag gains a new...
asked by 02.03.2018 / 22:31
1
answer

Jquery - Retrieve the value of a 'td' and insert inside a Text

Good evening, Next, I have a table from which I generate the data from mysql, I want to get the value of td, and insert inside a TEXT that will appear inside the table TD with the value that was there so that it can be edited and updated in t...
asked by 22.02.2018 / 00:44
1
answer

proportionally resizing image

What is the name of the technique used to do a proportional resizing of img . for example I have an image of 200x400 and want to show it in a 150x150 square how do I resize that image while maintaining the aspect ratio? How would you like it...
asked by 22.02.2018 / 21:49