I am using a Jquery plugin called Jquery Content Panel Switcher.  It does exactly what the title says, it switches out divs with ease.  The html for the page is:   &lt;!--The switcher buttons, basic anchor tags, with the switcher class --&gt; &lt;a id="content1" class="switcher"&gt;One&lt;/a&gt; &lt;a id="content2" class="switcher"&gt;Two&lt;/a&gt;  &lt;!-- The panel you wish to use to display the content --&gt; &lt;div id="switcher-panel"&gt;&lt;/div&gt;  &lt;!-- The actual content you want to switch in and out of the panel, this is hidden --&gt; &lt;div id="content1-content" class="switcher-content show"&gt;&lt;/div&gt; &lt;div id="content2-content" class="switcher-content show"&gt;&lt;/div&gt;   In each of my content panels I have a form.  In each form there is a table:  &lt;table class="table table-hover" data-controller="rank"&gt;   &lt;thead&gt;     &lt;tr&gt;       &lt;th colspan="4" align="left"&gt;&lt;h2&gt;Rank 1&lt;/h2&gt;&lt;/th&gt;     &lt;/tr&gt;     &lt;tr&gt;       &lt;th&gt;Number&lt;/th&gt;       &lt;th&gt;Requirements&lt;/th&gt;     &lt;/tr&gt;   &lt;/thead&gt;   &lt;tbody&gt;     &lt;tr data-name="one_li"&gt;       &lt;td&gt;1&lt;/td&gt;       &lt;td&gt;Info&lt;/td&gt;     &lt;/tr&gt;     &lt;tr data-name="two_li"&gt;       &lt;td&gt;2&lt;/td&gt;       &lt;td&gt;More Info&lt;/td&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt; &lt;/table&gt;   I am trying to fire off an action if a row gets clicked.  Here is the javascript I am using:  $(document).ready(function(){   $('#switcher-panel form table tbody tr').click(function(){      console.log("Clicked");    }); });   When I use the Jquery selector of $('#switcher-panel form table tbody tr') in my Chrome console, it finds the table and everything looks fine.  When I put it in my javascript file, nothing happens.  Some direction would be great.  Thanks for the help.
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.
What is attached to this spigot and how to remove Indexing redundantly named vector in R Functional Equation (no. of solutions): $f(x+y) + f(x-y) = 2f(x) + 2f(y)$ Find all the functions $f\colon\mathbb{Q} \to \mathbb{Q}$ such that $f(x+y) + f(x-y) = 2f(x) + 2f(y)$, for all rationals $x,y$. "Access denied" when trying to end a process on Windows 8 How would you make a comma-separated string from a list of strings? I need to remove every line that has a value of 2 or less in the 8th field (column).   My data looks like this:  12-31   Airport 189 379 41  49.70946503 -124.91377258   2   2880    30.8 01-01   AlberniElementary   165 331 16  49.26100922 -124.80662537   4   5760    26.1 01-09   BamfieldMarine  161 323 23  48.83490372 -125.13572693   2   2875    27.4 01-10   BamfieldMarine  161 323 23  48.83490372 -125.13572693   3   3068    38.6   I understand that using awk I can strip off the values desired and print them to another file, and I understand that sed would edit the current file. In either case, I need to retain the original file.   Note: Please provide thorough explanations with your solutions. It is not suffice to just write the command, please annotate suggestions.   Further note: The data has a header line, so most likely solution will need to      awk 'FNR >1'   I suppose? Is $x^3+y^3+z^3-1$ irreducible over a field $k$ of characteristic $\neq 3$? Is $x^3+y^3+z^3-1$ irreducible over a field $k$ of characteristic $\neq 3$?   If I can show that $y^3+z^3-1$ is irreducible, I believe I can use Eisenstein's criterion. But I don't see how to show even this.  The other approach on my mind is to show that $k[x,y,z]/(x^3+y^3+z^3-1)$ is an integral domain, but this doesn't seem particularly promising either. Why is Ubuntu using so much memory? I have just turned on my PC and have two applications running; Thunderbird and Firefox. Whatever else is running is part of Ubuntu's feature set (as well as a few indicators).  This has been ongoing for weeks, so I'm not sure if it's normal behaviour or not.  Right now, my memory usage indicator says that Ubuntu is using 41% of my 6GB of RAM. I haven't even opened Gimp or my other day-to-day things. I'll be buying another 6GB of RAM, this week, so that I don't run out when using Gimp or Openshot, for example.  An overview of my running applications shows that Nautilus is using the most, yet it isn't even open. This seems a little excessive, or am I missing something? Verify $\int\sec x\ dx=\frac12 \ln \left\lvert\frac{1+\sin x}{1-\sin x}\right\rvert + C$ Android cancel Toast when exiting the app and when toast is being shown The following is an Exercise of Conway's Functional Analysis.   Prove that $X$ is a $\,Banach$ space iff whenever $\{x_n\}$ is a sequence in $X$, such that $\sum \| x_n \| &lt; \infty$, then $\sum x_n$ converges.   I easily can show that if $X$ is a Banach space then $\sum x_n$ converges. My problem is showing that $X$ is a Banach space. For this I suppose that $\{s_n\}$ is a Cauchy sequence in $X$, then I want to make a series. For this I do not have any idea. Please help me. Recursive time series forecasting model In a recursive forecasting model, let's say you are trying to predict sales of Target for the next month and you will append that prediction to your input and predict the month after. Basically, your target is Sales quantity, which you lagged. But let's say you have other continuous numerical features like Price which you will lag as well. As your model is making predictions on Sales_QTY, it will feed it back to sales_qty as input so you will never ran out of values for that one. So how do you deal with your other features (other than the target) in order to generate them as next months inputs in a recursive forecasting model (because eventually you will run out of them)? DO you create a sub-model and try to predict them as well? Code in beamer presentation Good day! So, I need to present my disertation code to my thesis advisors, but I'm quite unsure how to actually do it in a proper way. I found  showing some ideas.  Is there a way of making the slides 48-67 in beamer without using tikz? Any ideas to implement the whole ideas the author propose?  Thanks in advance. How to connect to Office Online Server in Office365 I just wondering if we can use existing Office Online Server in Office365 for SP2013 on premise. If yes, how this can be achieve?   In SP2013 we normally run Get-SPWOPIBinding to find out the server binding and to connect to Office web App we normally run  New-SPWOPIBinding -ServerName. Is this the same command if I want to connect to the existing new Office Online Server in Office365?  Thanks What could cause a toilet to leave the flapper up and keep running? I have an American Standard toilet I installed last year. I don't know much about plumbing, but I was able to install this toilet. It seems to function okay, except for what I think is a mechanical problem.  Sometimes when the toilet is flushed, the flapper doesn't close and water keeps running.  The handle feels like it's slightly stuck in the up position.  I looked inside the tank once when it was doing this, and the chain attached to the handle was slack. I don't understand why the flapper isn't closing.  I've tried putting more slack in the chain and loosening the plastic nut that holds the handle on the toilet, but it doesn't seem to be helping.    How can I fix this? ASP.NET MVC Default Project Structure and the Scripts Folder PC won't boot (Asus P5K pro mainboard) No beeps, no screen output Let $x$ and $y$ be positive integers such that $xy \mid  x^2+y^2+1$. Show that $$ \frac{x^2+y^2+1}{xy}= 3 \;.$$ I have been solving this for a week and I do not know how to prove the statement. I saw this in a book and I am greatly challenged. Can anyone give me a hint on how to attack the problem? thanks Why does pressing a transform hotkey not display the axes on the selected object? I open Blender 2.80 (official release, not a beta or RC) and get the new scene with the usual 3 objects present (camera, light and cube). I select the cube, press 't' for the tools menu and click on the Move tool. The usual 3 axis glyph appears at the cube's origin as expected. But if I use the hotkey 'g' to activate the move transform instead of selecting the tool from the menu with the mouse this glyph does not appear. The exact same problem exists if I use the a hotkey for rotate or scale as well. Why? Is there some clickable checkbox setting hidden somewhere that could have disabled this? Converting a list of tuples into a dict I have a list of tuples like this:  [ ('a', 1), ('a', 2), ('a', 3), ('b', 1), ('b', 2), ('c', 1), ]   I want to iterate through this keying by the first item, so, for example, I could print something like this:  a 1 2 3 b 1 2 c 1   How would I go about doing this without keeping an item to track whether the first item is the same as I loop around the tuples? This feels rather messy (plus I have to sort the list to start with)...