Questions tagged as 'jquery'

0
answers

Controlling imported videos from Vimeo

I have a video imported from Vimeo on my site through the iframe that Vimeo itself generates. I need to have control over it, such as performing an action after the video is finished. Is there such a thing as? Any suggestions for doing thi...
asked by 09.01.2015 / 16:47
3
answers

Using Loop within the Append Function

Hello, is it possible to use a loop inside the append function? I have the variable (presentation) in the code below. Let's suppose that this variable is a Vector, as it would show its values inside the function apeend? <html> <...
asked by 05.07.2018 / 20:49
2
answers

removeClass does not work

I need to validate two fields in my form to enable the Submit button for the end user, but removeClass('disabled') is not working. $('#main-form').on(function () { simCode = $('#main-form [name=code]').val().length;...
asked by 10.05.2018 / 17:22
2
answers

Problem sending e-mail with php

I have a problem with my email sending code it works normally but my email arrives unformatted and showing the tags of html follows my code HTML <form id="form-elements" onSubmit="return false"> <div...
asked by 12.01.2017 / 12:39
2
answers

Browsing entire DOM with jQuery

How do I go through the entire DOM and find a particular element in jQuery? I want, by clicking on li of classe="home" , open div of classe="submenu" . <body class="home"> <!-- Header --> <div class...
asked by 21.05.2014 / 20:54
2
answers

Problems making ajax call with checkbox

I have several checkbox that will make an ajax call, but only the first checkbox is calling. Any solution in the IDs for this list to make the same ajax call? Script: <script> $(document).ready(function () {...
asked by 14.04.2016 / 18:31
2
answers

How do I do other JQuery effects? [closed]

I've been able to make these effects fadeIn() and fadeOut() , but I'd like to know how I make other effects like pop . I used this system: $(document).ready(function (e){ $("#menu").fadeIn(); $("#menu ul li a").cl...
asked by 10.01.2016 / 03:06
3
answers

Get input value whenever changed

I have a <input id="quantity" name="quantity" min="1" max="3" type="number"> element where I store its value in a var qty = $('#quantity').val(); variable by default the value is 1. I would like that whenever I change the...
asked by 16.02.2016 / 20:49
2
answers

Convert to jquery

Good morning, after researching a lot, I "realized" how practical jquery is, but I came across an obstacle. How would the below script look in jquery format? function enableQuantity(prod,quantity) { if(document.getElementById(prod).c...
asked by 17.02.2016 / 12:02
3
answers

How to list jSON separating key and value correctly

I've created this example to illustrate an attempt to list JSON searching for separate key and value: var meuArray = { "1": "Administra\u00e7\u00e3o", "2": "Agronomia", "3": "Arquitetura e Urbanismo", "4": "Artes C\u00...
asked by 26.01.2016 / 02:47