Questions tagged as 'jquery'

2
answers

Animation when the element arrives at the center of the page (jQuery)

I would like to know how I get the placement of a given element when it arrives in the center of the window, since I need to animate it when it is centralized. Thank you to reply with jQuery.     
asked by 20.07.2014 / 21:15
1
answer

Sliding horizontal menu

I'm setting up an E-commerce where the main menu contains all major product categories. When the Admin registers many categories the menu gets broken into two lines. The customer requested that you keep all categories on one line and, if you...
asked by 15.10.2018 / 14:39
1
answer

Replace on an object

I make a call Ajax and this call returns me some data. I need to pass a data of descrição , it is a string with a text, however to pass this data in modal I am using data- and for this I need to convert to text. I'm looking f...
asked by 19.12.2018 / 17:07
1
answer

POST requests AJAX ASP net MVC

Good afternoon, I'm having a little doubt, I'm doing a POST request with AJAX in ASP net MVC and everything works fine, but in firefox I get an error in the console However,inchromethiserrordoesnotappear.Hereistherequisitioncode:functionadicion...
asked by 09.10.2018 / 21:18
1
answer

Insert component after rendering Vue.js

Hi, I'm learning how to use Vue.js and so far I'm learning how to create components. But I'm having a problem, I'm trying to render a component after loading the page. I have a jQuery code that I want to use, but I do not know how to do it....
asked by 07.10.2018 / 15:14
2
answers

onmousemove event with jquery

I'm trying to recreate this tooltip link with jQuery. $(document).ready(function(){ $(".tooltip").mousemove(function(event) { $(".text").style.top = (event.pageY + 20) + "px"; $(".text").style.left = (event.pageX + 20) + "px...
asked by 08.10.2018 / 05:47
1
answer

How can I scroll to a specific location on the page using jquery?

Is it possible to scroll to a specific location on the page using jQuery? The location I want to scroll must have: <a name="#123">here</a> Or can you simply pass a specific DOM ID?     
asked by 26.09.2018 / 16:41
1
answer

Validate dates with Jquery validate for dd / mm / yyyy

I want to validate the dates with JQuery Validate, however, I researched a lot more the solutions found did not solve my problem. My JS: // incluir todos elementos do form na pagina $("form").each(function () { // inicializa o plugin no...
asked by 28.09.2018 / 16:53
1
answer

Message to user not selecting size and color with select

I need to change a script I have and I'm having some difficulty, I need to give a Alert to the user if he tries to go to the cart without selecting the Tamanho and Cor option, but always falls into the first message, the siz...
asked by 26.09.2018 / 15:48
1
answer

Header with animated Dropdown

Good morning, I'm developing a project and it has a header that I developed showing the categories available to it. Layout of the site with Bootstrap 3.3, because of presentation issues I decided to make an animation in the CSS of the dropdown p...
asked by 12.11.2018 / 12:40