Questions tagged as 'jquery'

1
answer

Display popup when closing page [duplicate]

Hello. I would like to know a code to display a form as a popup when the user closes the page. That is, that moment when he takes the cursor over the browser. Because the page was made by the RD tool. Form in question: link Form Cod...
asked by 24.02.2018 / 19:29
1
answer

Two fields with filter in the second - Datepicker

Hello stackOverflow family I'm finalizing a project and I'm having problems with datepicker. I have two datepicker fields (calendar and calendar1), working perfectly, but I need the field "calendar1" to present dates from the date field of th...
asked by 23.02.2018 / 18:03
1
answer

click on jquery text field

How do I make a text field click on my page? I want to do with jQuery     
asked by 21.03.2018 / 18:30
1
answer

Scroll down

I have this jquery that does scroll animation when you click on a link. How do I click the link, the scroll will go a little further down, type a 10% down, would it have? // Smooth scroll function $(document).on('click', '.menu-item a ,...
asked by 16.02.2018 / 13:49
1
answer

Image transition error Slide in JQuery

I'm setting up a website and the image slide is not working .. the image stays static. What can it be? <!doctype html> <html lang="pt-br"> <head> <meta charset="utf-8"> <meta name="viewport" content...
asked by 16.02.2018 / 01:14
3
answers

Check if phone field is the same

Someone needs help from you. I need a validation that is as follows. In my form I have two phone fields, TEL1 and TEL2. Validation is as follows if TEL2 == TEL1 Gives an alert that the number has already been reported. Can anyone hel...
asked by 16.03.2018 / 17:39
1
answer

Pass value from a getJSON to a variable

I have the following code: $('#aprovados').click( function(){ var job = $.getJSON($(this).attr("data-ajax-info-job"), function(jobinfo){ return jobinfo } ); console.log(job) }); The idea was to return my json data tha...
asked by 17.03.2018 / 00:04
1
answer

Name of the dynamic attribute in Post Jquery

How can I use the variable data type as the title / name of the attribute that will be passed in POST? The type is dynamic because it is actually the name of the column in the database. $('body').on('click', '.setCompany', function(e){...
asked by 16.03.2018 / 14:30
1
answer

How to use the bootstrap carousel in a wordpress theme

I made a simple theme in wordpress and I'm using this type of js: (function($) { console.log("teste"); $('.carousel').carousel(); })(jQuery); and this html: <div id="carousel1" class="carousel slide" data-ride="carousel">...
asked by 17.03.2018 / 16:36
1
answer

Click and act, click again and return to position / Jquery

I made a button to open a configuration screen, when I click open the screen, and the button changes from "Configuration" to "Back" but I would like it when I clicked again to write "Configuration" . Can anyone help me? Preferably in jQ...
asked by 17.02.2018 / 20:36