Questions tagged as 'jquery'

2
answers

How to animate the divs and caption arrangement, when hovering in one of these elements?

I'm creating a website, they asked me to play a joke on the team part. According to this image, when it is done: hover in one of the parts, all text and image are sorted: Idonotknowhowtotakeoffthisboot,becausejavascriptisnotmystrong.Iwishyouc...
asked by 20.03.2014 / 21:54
2
answers

Best way to get HTML + text from an array

Function I am using: $(".push-description-top").each(function() { var text = $(this).text(); var carac = text.length; if (carac > 0) { var query = text.split(" ", 14); query.push('<a href="">... Veja mais...
asked by 23.10.2017 / 18:18
1
answer

How to display only the first row of a table?

I have a table with summaries about a particular client, where the first line is the main content to be displayed, and the rest is a mere complement. I know I could apply display: none , but I do not think that should be the best way to...
asked by 04.05.2016 / 21:14
2
answers

Update from change in select

I have a list with multiple selects and I need to change the select option to be updated in the database. I can do this through ajax + php. My question actually is how to trigger the event from the option change. Could someone give me a light? T...
asked by 27.08.2015 / 17:19
2
answers

Do I need to include jQuery on all pages?

Is it necessary to put the script of the production jQuery each time it starts a new encoding?     
asked by 06.04.2015 / 04:47
3
answers

get element after being inserted into the DOM with jQuery Append

My page has a selectbox, with some segments, when a user selects a segment, through the on change event of jQuery, it takes the value of the selected <option> and inserts an input hidden with the value of this option within a...
asked by 15.05.2015 / 21:18
4
answers

Mark contacts / hashtag when entering text with javascript

Good morning In my current project, I need to mark the subject's contacts and / or hashtags in the text, while typing For example, when typing '@' and the first few letters, javascript recognizes that it has to search for users, or by typing '#'...
asked by 20.05.2015 / 15:13
2
answers

Using jquery animate () to animate the exchange of place divs in a puzzle

link This example above is not yet fully functional, the puzzle logic is: 1 - Click on at least two divs (or 2 pieces of the puzzle) and so the two divs would have to move places using animation. 2 - For this to happen, I collected th...
asked by 06.10.2015 / 21:43
1
answer

Doubts about double exclamation (!!) in javascript / Jquery [duplicate]

I saw the use of the same in the source code of Jquery , for example: fired: function() { return !!fired; } Code snippet located between lines 3222 and 3224 of version 2.1.4 uncompressed. Is it something native to Javascript...
asked by 19.10.2015 / 14:30
2
answers

Make a website not run in any version of IE

I have a site that should not run in any version of IE , when they try to open the url I want a background-image to appear, site is not supported in IE . Is this possible? I put this solution in my code: <script type="text/javascr...
asked by 27.05.2015 / 18:18