Questions tagged as 'jquery'

1
answer

Change class according to condition

I would like to do two things: One that label with id cnt , when you press the plus button, add 1 more and when you press the minus button, subtract minus 1. Otherwise, when label cnt was equal to zero, remove cl...
asked by 08.12.2016 / 18:50
1
answer

How to create a dynamic @Html.ActionLink with JQuery?

I'm trying to create a dynamic @Html.ActionLink fault with JQuery but I'm not getting it, how do I do that? $('#tableView > tbody').empty(); if (data["CategoriaProduto"].length > 0) { $.each(data["CategoriaProduto"], funct...
asked by 05.11.2016 / 12:31
1
answer

Detect SHIFT key and click the right mouse button

Hello I need to create a shortcut where when I press the SHIFT + mouse LEFT button, it displays an alert. How can I do this very simple and using Jquery? Thank you     
asked by 01.11.2016 / 00:09
2
answers

Jquery function click on PHP dynamic links

I'm trying to create a script for when the person clicks on Like it will enjoy the post, and when you click on Descortir, you will discard the post, of course, I managed to do it successfully, however I had to do this by putting the jquery scrip...
asked by 30.10.2016 / 19:44
2
answers

Disable paging and display all records when starting to search the datatable

I'm using servers in the datatable JQuery. PHP plus JQuery. The data is pulled from the database. I have specified that 9 records appear on each page (of pagination). But I need it when I start looking for something I want the paging to cease...
asked by 23.12.2016 / 15:16
1
answer

JQUERY functions with named callbacks

I would like to create a function with Jquery so that I could only pass the callback name and function specification, as well as the $ .ajax function, which as an example, I do: $.ajax({ ... success: function(){ alert("Sucesso") } err...
asked by 21.10.2016 / 17:55
1
answer

How to call the printer on a page made in ASP.Net MVC?

I would like to call the printer, even if the page is being accessed by the mobile. <div class="container droppedHover"> <div class="row"> <div class="span6"> <button class="btn btn-lg btn-block bt...
asked by 01.01.2016 / 23:54
2
answers

Receive txt and generate image from text

And guys! I have a problem that I can not solve in any way. I've tried a lot and I've not gotten anywhere. In the company where we work we use proprietary language, which by the way I hate. When I make a request for an image via $.ajax()...
asked by 05.12.2016 / 22:05
2
answers

How to insert items from a JSON file into an html table

I have this JSON file: var identificacao = [ { "nome": "João Silva", "cpf": "444.111.777-00", "rg": "44.66.55.00-1", "nascimento": "28/06/1994", "endereco": [{ "rua": "Av. Marechal Tito", "numero": 155,...
asked by 06.12.2016 / 02:21
2
answers

.load JQuery leaving the form to be submitted

I have the following js $("#contato").on("submit", function () { if($('#descricao').val() == "") { //verifica apena o texto alert("Descrição não está preenchida!"); $('#descricao').siblings().each(function(){...
asked by 09.11.2016 / 18:43