Questions tagged as 'jquery'

1
answer

jQuery not working in Internet Explorer

I made a little play on Codepen, to share on Github. That is an effect of the elements appearing when you scroll on them. By codepen, it was working perfectly both in IE and other browsers, however, when I moved to HTML page to play in GItH...
asked by 01.02.2014 / 17:11
1
answer

How to "bypass" a word in the input every time you press the space key on the keyboard

As the question already says, I want to "bypass" a word whenever it gives a space, as in the examples below: I do not want anything to self-complete, I just want it when you give the "space" the word goes around. But I have no idea how to...
asked by 28.12.2014 / 02:22
2
answers

dynamic background - jQuery

I'm testing an image slide, I'm dynamically changing the background using the "css" function of jquery by changing the url ("image path"); But I realized that whenever there is the exchange, it lowers the image again. Do you have the background...
asked by 09.06.2014 / 19:26
3
answers

Problem with return false in JavaScript

I need to develop an accordion menu and am having trouble with the click event. My script: $(document).ready(function(){ $('.dropdown').click( function(){ $(this).find("ul").slideToggle(); return false;...
asked by 08.06.2014 / 02:57
2
answers

Click and add id in the array. If you click again, remove this id

I have a problem, I have a list and when the user clicks it adds the id of this <li> to an array, but I want it when I click again on that <li> , that id is removed from the id. Here's the JSFIDDLE . HTML: <ul&g...
asked by 26.07.2015 / 20:51
1
answer

How to Style Current Page Navigation Link

The above image is a print of the menu that I'm developing that got the style I put right in CSS. But only when I pass the mouse over the link, that is when I do :hover which was what I was doing in that print. Now I want...
asked by 21.07.2015 / 16:57
2
answers

jQuery fetch all checked checkboxes from a div through a click of a button

I need to search all checkboxes CHECKED of a <div> where you have another <div> daughter who is, has a <input type="checkbox"> via jQuery . The structure follows: <div class="metro per...
asked by 20.08.2015 / 20:05
1
answer

Enable select when selecting with jQuery

I did a perfunctory search on enabling select when choosing an option on another select , but I did not find anything that applied. $(document).ready(function() { $('select#select1').select(function() { $('select#selec...
asked by 10.11.2018 / 17:25
1
answer

Jquery validate with type button

Hello, I have a form that uses direct javascript to send the data, and its type is button. <button type="button" id="login_submit_patient" class="btn btn-focus m-btn m-btn--pill m-btn--custom m-btn--air uppercase"> But I can n...
asked by 22.11.2018 / 17:19
1
answer

Fill select with JQuery

I'm using the JQuery autocomplete and it's working normally. But it is populating a type text that contains only one field (the txt itself) to fill in. I would like a select to be filled in instead of txt. Someone help me? Follow the co...
asked by 19.09.2015 / 15:04