Questions tagged as 'jquery'

1
answer

PHP code does not execute and returns as comment for HTML

I have a code in javascript calling a file PHP : $.post("subscript.php", { idPost: idPost }, function(response2) { //Joga o resultado no lugar desejado. $("#respostaID").html(response2); }); When this code...
asked by 08.09.2015 / 20:27
1
answer

How to make slideup / slidedown without a click event?

Hello, I'm starting at AngularJS and I have some doubts ... One of them is this. I have the following code: angular.module('ValueSelling.controllers', []).controller('startController', function($scope, $routeParams) { jQuery('body').rem...
asked by 29.07.2015 / 15:18
1
answer

How to pass a php array as a paramera of $ .ajax data?

How to pass a php array as paramera of $ .ajax data? Ex: <?php $nomes = array('maria','joao','jose'); ?> $.ajax({ url: 'pagina.php', dataType: 'json', method: 'POST', data: {'nomes' : <?php echo json_encode($nomes);...
asked by 08.04.2016 / 18:17
1
answer

Deleting multi-upload files

I have the following code that includes files to upload: HTML <p>Utilize a tecla <b>Ctrl</b> para selecionar mais de um arquivo.</p> <div id="multiple_upload"> <input type="file" multiple="multiple" id="...
asked by 24.03.2016 / 14:56
1
answer

Jquery Slideshow separated by category

I need an idea how to make a slideshow separated by category, I want to show the user a link to a certain category, clicking the link to show a slideshow of this category, clicking a second link from another category, slideshow for the second ca...
asked by 24.03.2016 / 03:20
5
answers

Simple Rotating Banner

I want to make a very simple rotating banner with just the arrows on the sides and an image that changes all once clicked, but I would like to use as little Jquery or Javascript as possible, I tried to do it but I'm kind of rusty in development...
asked by 04.08.2014 / 21:31
4
answers

Mysqli_fetch_row () expects parameter 1 to be mysqli_result [closed]

No, I'm wondering why I get this error, since I just want to do a simple update, and I have the necessary parameter in fetch    ERROR: Warning: mysqli_fetch_row () expects parameter 1 to be   mysqli_result, object given in   C: \ xampp \ htdo...
asked by 13.01.2017 / 18:41
2
answers

JQuery css condition if text color

I have this code. The problem is that everything is working fine except the color of the text does not change. jQuery: $("#btnContactMob").on("click", function () { $("#contactMob").stop(true).slideToggle(function () { if ($('#contactMo...
asked by 04.04.2014 / 14:03
1
answer

Jquery only validates one element of several

I would like to display the required message on each input element in addition to performing the check on each pair of checkboxes and input text, but it is only occurring on the first input I am giving focus. <html> <head>...
asked by 06.03.2014 / 22:52
1
answer

Put soft effect or slowness in anchor (window.location.href) [duplicate]

I have the following code: if($('#otherfilter').is(':visible')){ window.location.href='#otherfilter'; } I would like to slow him down to make this anchor.     
asked by 28.09.2017 / 19:26