Questions tagged as 'jquery'

1
answer

Return value of an input

I'm trying to get a value from an input in the sweetalert2 trying to follow this example that is there on the site const {value: password} = await Swal({ title: 'Enter your password', input: 'password', inputPlaceholder: 'Enter your pa...
asked by 14.12.2018 / 17:46
1
answer

How to store a JWT Token in a simple method and redirect to another page?

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Title<...
asked by 15.12.2018 / 04:12
1
answer

Data Do Not Pass Before Submitting

Good afternoon. I'm new here in the forum and new to programming and I'm stuck in an action. I'm calling a modal window for the user to enter some information and clicking save information goes to inputs inside the form and the form is submit...
asked by 14.12.2018 / 21:25
1
answer

Toggle animate () in DIVs in same position

I was able to display a div , when hover , which is hidden and below visible. However, the effect gets a bit "crazy" when I move the mouse within container . Does anyone have a solution? = | Full Code in JSFIDDLE Thanks...
asked by 28.05.2014 / 23:56
1
answer

Write to the Database at the end of the auction

I'm developing an auction site in ASP.NET MVC4 and EF, at this time already runs bids and has a timer. The problem now is: how do I record the data when the time expires? I've thought about doing a trigger in DB, but I think it will not wor...
asked by 28.05.2014 / 02:36
3
answers

Scroll on the page adds the class "ACTIVE" to the menu

Hello, I'm having a hard time getting jquery to add an active class to the menu that is fixed at the top. Anyone who wants to see the site to understand better follows the link. Sapphire Site I want the class to be added when I scr...
asked by 28.05.2014 / 23:45
2
answers

How to reload a page with load.gif?

Expensive, how do I reload the page so it does not flicker? Can I leave a GIF on the screen while the page is being reloaded? $('#objetivos-form').live('submit',function(){ var form = $(this); // validando if (...
asked by 02.06.2014 / 19:18
1
answer

Load data from a field after pressing a button

I need to load data from a field in a table. Example: Table (Template), the person is filling out the form and wants to use this template in the Text field, and with that it would click on a button (Load Template) and load this template into...
asked by 05.06.2014 / 14:28
1
answer

Find div containing image and add class for CSS recognition

I need help finding the <img> tags within the structure below. When found, add a "hasimg" class next to the "skuFiltro" class of the primary <ul> tag. I need to recognize if it has an image or not to be able to diffe...
asked by 23.11.2018 / 12:33
1
answer

Real-time search with jQuery

I have the following code to do a real-time search with jQuery, searching for values inside a table: $(document).ready(function () { $(".nada").hide(); var $rows = $('.linhas'); $('#search').keyup(function () { var val =...
asked by 23.11.2018 / 11:35