It really simple, but for some reason the second segment doesn't work at all. Clicking a card doesn't do ANYTHING.  $('.container__card').hover(function(){      $(this).toggleClass('container__card container__card--hover') });  $('.container__card--hover').click(function(){    $(this).toggleClass('container__card--selected container__card--hover'); });
112
I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.
42595
The reputation graph has been broken for years:    Dragging over the area below will not do anything. Clicking/hovering the bars will also not trigger a popup.  It used to work but since several years ago it stopped working for me. From the comments  I have realized it is working for other users but not me. Therefore I have taken a look at it and I found out that since the page probably thinks I am on a mobile device (I have a touchscreen on Windows 8.1) it is only listening for touch events. (Based on my experience, the code/underlying library must has been written before touchscreen PC's became popular.)  I tested it and indeed, the touch events work. This also explains why it stopped working years ago because I have switched to a laptop with touchscreen.  Another user seems to have a  but they couldn't figure out why. I am not able to confirm that the problem he was experiencing is also related to touchscreens.  Chrome 51, Windows 8.1.
106496
When I use the MouseUp event, I can get it to fire with a mouse right-click. But MouseLeftButtonUp won't fire with either click!  &lt;Button MouseLeftButtonUp="btnNewConfig_MouseUp"  Name="btnNewConfig"&gt;     &lt;StackPanel Orientation="Horizontal"&gt;         &lt;Image Source="Icons\new.ico" Height="24" Width="24" Margin="5"/&gt;         &lt;TextBlock VerticalAlignment="Center"&gt;New&lt;/TextBlock&gt;     &lt;/StackPanel&gt; &lt;/Button&gt;   I know this is most likely something simple. Thanks for the help!
32205
Consider the following:  &lt;div onclick="alert('you clicked the header')" class="header"&gt;   &lt;span onclick="alert('you clicked inside the header');"&gt;something inside the header&lt;/span&gt; &lt;/div&gt;   How can I make it so that when the user clicks the span, it does not fire the div's click event?
82572
My block is not working for the flexslider: The images are not appearing, but the view preview does work.  I don't know if it is relevant, but a similar problem would happen with just a slideshow view, although one image would appear and it would not cycle.  Could jQuery be a problem?  The following is the actual page with the block that is not showing any images.        The following is the view preview, which works.
105378
Use Case:  What i want is a list of records, and allow this user to choose 2 of those records, then click a button to go to a new VF page, if the user selects more than 2, i want him to get a notification of some kind saying you need to select 2 records, I do not want the page refeshed though.  Strategy:  I'm creating a wrapper class for the records like this:  and i have that part going by creating a custonm controller... I need the notification part working.   Problem:  I don't know how to call methods from the customController in javascript Also, i do not want to refresh the entire page. I just want them to go back to where they were. I was thinking a pop-up notification but I'm flexible..
8742
We are experimenting with enhanced user card mouseover popups and have enabled them network wide. You can tell which users will trigger the popup because they have a 3-D drop shadowy look to their gravatar:    Hover your mouse over the gravatar and wait. Note that the user card mouseover popup will only be displayed if the following conditions are met:   Is the profile complete, and long enough? We enforce a minimum length requirement. The user's reputation must be >= 1k  If you have more links than are able to be displayed after truncation, those extra links will be shown in the bottom of the dialog. We order links at the bottom consistently -- if you include a twitter, google plus, linked in, or facebook those links are prioritized. It will be visible on a question and answer detail page, any page with a list of questions, and the /users list. It will not be shown when a question or answer is wiki'd. It will not be shown when excerpt summary is defined as &lt;!-- summary: &amp;nbsp; --&gt; we support explicitly specifying your user card excerpt summary using the following syntax:  &lt;!-- summary: This is my profile, there are others like it but this one is mine. --&gt;   The above example will result in:    This is now mostly complete.  The goal is allow people to show  off how awesome they are inline, without having to click through to the full user profile page.
75958
I used to be able to select and edge loop with AltRMB and then just continue with ShiftAltRMB. But this no longer works in Blender 2.80 and nightly builds of 2.79.  Is there another way to achieve the same?  UPDATE  It's not related to the nightly builds since I am also experiencing the same with the latest official release. Deleting Blender's user preferences doesn't change anything, nor does resetting the keymaps.  So it might be related to the Linux distro I am using (elementary OS), I'll have to look into that and follow up here as soon as I found something.  UPDATE 2  In the meantime, I switched back form elementary OS to Pop!_OS, which resolved the issue. It seems that somehow, elementary OS was blocking the ShiftAltRMB combination. The issue persisted with all versions of Blender, be it 2.79 official, 2.79 nightly or 2.80. Now, all is fine. Even 2.80 works as expected.  UPDATE 3  As of now, Blender 2.80 is using left-click by default for selecting. Selecting edge loops is done by double clicking, which is so much more convenient.
14994
Is there a way that a non-op player can click a clickEvent command in the book he is given but not be able to do any other commands?
115646
I have a page that uses   $(id).show("highlight", {}, 2000);   to highlight an element when I start a ajax request, that might fail so that I want to use something like  $(id).show("highlight", {color: "#FF0000"}, 2000);   in the error handler. The problem is that if the first highlight haven't finished, the second is placed in a queue and wont run until the first is ready. Hence the question: Can I somehow stop the first effect?
45024
My trackpad is broken so I can tap-to-click but i cannot drag and drop. This is really a problem when it comes to doing certain things.   Does anyone know how to program a sticky key to turn a click into a click-select that can then be dragged about?   I can't resize my browser or open window and I can't drag applications into the folder when installing etc.  free solutions only please.  A mid 2009 macbook-pro 13". 2.53 Ghz Intel Core 2 Due.   Running os lion (grudgingly).
84374
I’ve had a good look and can’t seem to find out how to select all elements matching certain classes in one jQuery selector statement such as this:  $('.myClass', '.myOtherClass').removeClass('theclass');   Any ideas on how to achieve this? The only other option is to do  $('.myClass').removeClass('theclass'); $('.myOtherClass').removeClass('theclass');   But I’m doing this with quite a few classes, so it requires much code.
3057
I need to change an element's ID using jQuery.    Apparently these don't work:  jQuery(this).prev("li").attr("id")="newid" jQuery(this).prev("li")="newid"   I found out that I can make it happen with the following code:  jQuery(this).prev("li")show(function() {     this.id="newid"; });   But that doesn't seem right to me. There must be a better way, no? Also, in case there isn't, what other method can I use instead of show/hide or other effects? Obviously I don't want to show/hide or affect the element every time, just to change its ID.  (Yep, I'm a jQuery newbie.)  Edit I can't use classes in this case, I must use IDs.
60358
I found another odd bug... but I can only repro it in Firefox (40.0.2 for OSX). It doesn't occur in Chrome or Safari. I understand that, if it is a FF only thing, there's possibly nothing you guys can do about it, but I thought I'd put this out here anyway.  I use the magic hyperlink button to create links because they're pretty. Recently I've been noticing that, when I use it, I can't use ↓ until I click outside the text area.  The process is pretty simple:   Write two lines of text (to make sure you have a "down" to go to). Highlight some of the text on the upper line. Click the hyperlink button or use Ctrl + L. Paste the link into the text area. Hit Enter/Return to close the dialogue. (Hitting the OK button will not repro the issue.) Try to use the down arrow&hellip;. No response.   As long as you don't click out of the text input area, you will not be able to use the down button. Even using your mouse to move the cursor to another spot doesn't make it work. The other three direction arrows work fine.  This may or may not be related to ... I don't remember running into this issue until the last week or so.
85134
Currently, in the , when you want to select an option, you have to click either on the radio button, or on the top part of the description. This is because only the top part of the description is contained in a &lt;label&gt;.  This doesn’t match the behavior of the other older modals. I’d like the entire text to be clickable to select the corresponding radio button, instead of having to click on this rather thin strip.  This is a screenshot of the flag modal with the &lt;label&gt; being inspected. The bottom description should be part of the &lt;label&gt;, too, or perhaps in another &lt;label&gt; for the same radio button — whichever works best.    Other people requesting this feature   For older flag modals,  similar to this one has been proposed in 2014. Before I asked my question, this has been requested in this comment (which I overlooked at first):     [feature-request] Can you make the flag option's subtext clickable? (Like in all other flag dialogs) –    After my question, ’s  to the question  requested this feature.
61949
Is there a way to select a parent element based on the class of a child element in the class?  The example that is relevant to me relating to HTML output by a nice menu plugin for .  The output renders like this:    &lt;ul class="menu"&gt;       &lt;li&gt;           &lt;a class="active"&gt;Active Page&lt;/a&gt;       &lt;/li&gt;       &lt;li&gt;             &lt;a&gt;Some Other Page&lt;/a&gt;       &lt;/li&gt;   &lt;/ul&gt;     My question is whether or not it is possible to apply a style to the list item that contains the anchor with the active class on it.  Obviously, I'd prefer that the list item be marked as active, but I don't have control of the code that gets produced.  I could perform this sort of thing using javascript (JQuery springs to mind), but I was wondering if there is a way to do this using CSS selectors.  Just to be clear, I want to apply a style to the list item, not the anchor.
1758
When selecting components, is there a way to control the "selection distance/area"? I don't want to select a component, even if I click ~20 pixels away from it.    Thanks in advance!