Questions tagged as 'jquery'

1
answer

Events of touch swipe, swipeRight and Left do not work on android 4.4.2

Touch events do not work on Android 4.4.2 Would anyone know how to fix this?     
asked by 16.01.2015 / 04:18
1
answer

AJAX sends information to PHP but fails to INSERT only one

See this code for me: HTML: <script type="text/javascript" src="js/jquery-2.1.1.min.js"></script> <script type="text/javascript" src="js/criaEvento.js"></script> <form method="post"> <table width="420" align...
asked by 06.02.2015 / 21:22
1
answer

Function $ .getJSON returns undefined

I'm having problems with a system that downloads the photo of 10 artists from a TOP 10. Here is the function: function baixarCapa(capa) { $.getJSON("https://ajax.googleapis.com/ajax/services/search/images?callback=?", { q: '"' + capa...
asked by 04.02.2015 / 03:38
2
answers

Function calling $ .getJSON () returns undefined

I'm trying to get data from a JSON via javascript with the getJSON function from Jquery, but it's returning undefined. Here is the code: $(document).ready(function(){ $("#log").append(pegaPrev("São Paulo-SP")); }); function pega...
asked by 09.03.2016 / 22:38
1
answer

You can block the Arrow in the DATE field

Would there be any way to block this little piece there?     
asked by 29.06.2015 / 23:32
2
answers

submitting submit button even when canceling

I have a button in ASP.NET webForm and even clicking cancel it sends the submit. Example on Fiddle link $(function () { $("[name='chk_IDDel']").change(function () { var disabled = true; $("[name='c...
asked by 23.03.2015 / 19:32
2
answers

Check fields when giving submit and case error return to field

I have a very extensive form and I would like to click submit and the field is in error, that the page can scroll (jQuery) to this field so that the person knows exactly what has error. I started like this: $("#sdEmpresa").removeClass("hidden"...
asked by 13.08.2014 / 04:13
2
answers

JavaScript in iOS: Avoid clicking events while scrolling on iPhone / iPad

Scenario: I have a table and on the Desktop should I double-click to access the contents of each table item. On mobile devices like tablet and smarthphone double clicking does not work and you need to implement just one click / touch....
asked by 15.07.2014 / 17:59
1
answer

jQuery Ajax does not work in IE8 and IE9

I'm using Internet Explorer 9 for testing and ajax requests do not work (in all other browsers they work). I have this code: $.ajax({ type: "GET", url: "http://cep.correiocontrol.com.br/60441145.json", dataType: "json", succ...
asked by 16.04.2014 / 23:07
1
answer

Disable Space Key

How to block the space key from scrolling down the page when pressed? $(document).keydown(function(e) { if (e.keyCode == 32) { return false; } }); This code continues to let the bar down when pressed I have this script t...
asked by 23.04.2014 / 06:49