I have a website consisting a few href links and 2 buttons that can change what those links are.    &lt;div class="links"&gt;      &lt;p class="hlCategory"&gt;Classical Mechanics&lt;/p&gt;       &lt;ul&gt;         &lt;li&gt;&lt;a class="topic_link" href="#"&gt;Position, Velocity, Acceleration&lt;/a&gt;&lt;/li&gt;         &lt;li&gt;&lt;a class="topic_link" href="#"&gt;Newton's Laws&lt;/a&gt;&lt;/li&gt;         &lt;li&gt;&lt;a class="topic_link" href=“#"&gt;Friction&lt;/a&gt;&lt;/li&gt;       &lt;/ul&gt; &lt;/div&gt;  &lt;div class="buttons"&gt;       &lt;p&gt;Choose Dificulty:         &lt;button type=“button" onclick=“beginerButtonAction(this)"&gt;Beginer&lt;/button&gt;         &lt;button type=“button" onclick="intermediateButtonAction(this)"&gt;Intermediate&lt;/button&gt;       &lt;/p&gt;  &lt;/div&gt;   After the original html is loaded, when links are clicked, the alert function in the javascript file is triggered.   $(function(){   $(".topic_link").click(function(){     alert($(this).text());   }); });   And everything works fine.  The problem arises after the buttons are pressed and the href are changed.  function beginerButtonAction(id) {      $( "div.links" ).remove();      var newLinks;         newLinks= '&lt;div class="links"&gt;'+          '&lt;p class="hlCategory"&gt;Classical Mechanics&lt;/p&gt;'+               '&lt;ul&gt;'+                 '&lt;li&gt;&lt;a class="topic_link" href=“#”&gt;Moment of Inertia&lt;/a&gt;&lt;/li&gt;'+               '&lt;/ul&gt;'+            '&lt;p class="hlCategory"&gt;&lt;/p&gt;'+               '&lt;ul&gt;'+                 '&lt;li&gt;&lt;a class="topic_link" href=“#"&gt;Drag Force&lt;/a&gt;&lt;/li&gt;'+                   '&lt;/ul&gt;'+       '&lt;/div&gt;';      var $jNewLinks = $(newLinks);     $("body").append($jNewLinks); }  function intermediateButtonAction(id) {      $( "div.links" ).remove();      var newLinks;         newLinks= '&lt;div class="links"&gt;'+          '&lt;p class="hlCategory"&gt;Classical Mechanics&lt;/p&gt;'+               '&lt;ul&gt;'+                 '&lt;li&gt;&lt;a class="topic_link" href=“#”&gt;Torque&lt;/a&gt;&lt;/li&gt;'+               '&lt;/ul&gt;'+            '&lt;p class="hlCategory"&gt;&lt;/p&gt;'+               '&lt;ul&gt;'+                 '&lt;li&gt;&lt;a class="topic_link" href=“#"&gt;Momentum&lt;/a&gt;&lt;/li&gt;'+                   '&lt;/ul&gt;'+       '&lt;/div&gt;';      var $jNewLinks = $(newLinks);     $("body").append($jNewLinks); }   After the html is modified the href no longer triggers the alert.  I want the alert to fire after html is changed. Any thoughts?
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.
Is a GUID unique 100% of the time? Is a GUID unique 100% of the time?  Will it stay unique over multiple threads? Prove that $\lim_{x \to \infty}\big(\frac{x}{x-1}\big)^x$ is also $e$. Trying to make sense out of the idea that $100\%$ continuous decay is $\frac{1}{e}$, I thought about this:  You can express $1+\frac{1}{x}$ as $\frac{x+1}{x}$, such that $\big(1+\frac{1}{x}\big)^x = \big(\frac{x+1}{x}\big)^x$  And you can express $1-\frac{1}{x}$ as $\frac{x-1}{x}$, such that $\big(1-\frac{1}{x}\big)^x = \big(\frac{x-1}{x}\big)^x =\frac{1}{\big(\frac{x}{x-1}\big)^x}$  Now $\big(\frac{x}{x-1}\big)^x$ and $\big(\frac{x+1}{x}\big)^x$ look very similar, and I can imagine (and see on Mathematica) that $\lim_{x \to \infty} \big(\frac{x}{x-1}\big)^x$ also approaches $e$.  However I'm clueless about limit proofs, how do you prove that?  EDIT: Just had a last second insight.  Can you say that $$\lim_{x \to \infty} \big(\frac{x}{x-1}\big)^x = \lim_{x \to \infty} \big(\frac{x}{x-1}\big)^{x-1} \cdot \lim_{x \to \infty} \big(\frac{x}{x-1}\big)$$ $$= \lim_{x \to \infty} \big(\frac{x}{x-1}\big)^{x-1} \cdot 1$$ $$=\lim_{x \to \infty} \big(\frac{x+1}{x}\big)^x = e ?$$   (not sure about that last limit transition...I mean I'm pretty sure it's true, just not sure how to write it; I would appreciate feedback on that, thank you) How can I install Whatsapp web app on Ubuntu? I found a similar question , but here I am asking for the WhatsApp desktop webapp so that I can directly access the application without opening a browser. I reviewed  in the First Posts queue.  Which said      i changed it to 'localsystem' and done. thanks much   So it obviously was a potential low quality post. But sometimes such answers can be spot on, so I checked it out, better safe than sorry. I turned out the post had been deleted. Great! So I clicked "No action needed". Then I got this:    You can imagine I felt "wrongfully accused".  I think that deleted posts should not be used for review audits, because the meaning of "No action needed" is not clear in this context. Say you have a stick which breaks randomly into three pieces (we can choose the points randomly). What is the probability that the area is greater than or equal to $0.4$?   I can see it has something to do with Heron's formula but I just can't put t together. Divergent infinite series $n!e^n/n^n$ - simpler proof of divergence? Breadboard Confusion I just received the following breadboard in a electronics starter pack I purchased.    I am a little confused in how I would go about prototyping on this board, all the tutorials I have read state that the breadboard should have a positive and negative  input on it. But it appears this one doesn't.  Could anyone help clear my confusion? At college we use ArcGIS Desktop 10, but that does not function on my Mac so I have QGIS there instead.  I want to do my exercises with QGIS, but in ArcGIS Desktop we use .lyr files with ArcMap and .lyrx files with ArcGIS Pro, and they are not supported by QGIS.  Does anyone know, how I can connect the *.lyr files to my *.shp files to use them on my Mac with QGIS? I recently read that:     What our current level of thermodynamics does tell us though is that if there is such a thing as a Big Crunch, the universe will look a lot different as it heads towards collapse than it did when expanding – the universe started in a state of low entropy and high order and will end in a state of high entropy and   low order.   But shouldn't the order be in a high state and hence entropy becomes a low state in the Big Crunch (assuming a closed universe)?  The reason I write this is because the gravitational forces in a closed universe are so strong they will cause gravitational collapse so the universe will shrink and go backwards, eventually through all the stages of the big bang and become a singularity once more.   It was my understanding that a singularity has a state of high order and low entropy. Have I got this the wrong way round?   If so; Can someone please explain why? How to toggle background image on button click? Is there any difference between the usage of 'later' and 'later on'?         I'll see you later.   I'll finish it later on. Context to distinguish "we" inclusive versus exclusive What does the @ symbol before a variable name mean in C#? Possible Duplicate:          I understand that the @ symbol can be used before a string literal to change how the compiler parses the string.  But what does it mean when a variable name is prefixed with the @ symbol? Warn new users when they ask a question after a previous question is closed, downvoted, or deleted Another &quot;miséricorde&quot;:  Consider  (emphasis added):  I think its okay, please dont take any efforts for me. I personally do not feel the system helps ask good questions. I dont know why asking for a software in this case is bad. Basically I needed a command that would give me this data. There is no other way I could have asked the question. I could have changed the question just for the sake of changing. I feel I am better off elsewhere. Thanks for your very very prompt responses. Regards. Bye. – user1744649  We just lost another user due to inadequate guidance on what questions are allowed.  The  by the time they are banned has been proven incorrect. Given that , we need a better way to make sure that users can understand how to ask good questions and what types of questions are allowed. I suggest that we warn newcomers, in a clear but positive tone, when one of their questions has been closed, downvoted (to a score of -2 or lower), or deleted, so that they don't repeat the same mistake.  This is probably best done the next time the user asks a question, and should appear as an &quot;interstitial&quot; page prior to reaching the actual Ask Question form.  The page should not appear to users:  with at least 50 (or perhaps 75 or 100) reputation that have asked a good question since the last downvoted/closed/deleted question that have fixed a bad question and had it reopened/undeleted/upvoted.  The content of the page should be adapted based on the specific problem with the previous question.  I would imagine something similar to the following (example for a question closed as off topic on Super User):  Before you ask another question... One or more of your previous questions have been closed as off topic. The scope of on-topic questions is defined in the , as follows:  What kind of questions can I ask here? Super User is for computer enthusiasts and power users. If you have a question about …  computer hardware, computer software, or personal and home computer networking  and it is not about …  programming and software development, video games or consoles, websites or web services like Facebook, Twitter, and WordPress, electronic devices, media players, cell phones or smart phones, except insofar as they interface with your computer, issues specific to corporate IT support and networks, asking for a shopping or product recommendation,  … then you’re in the right place to ask your question!  Please make sure that the question you are about to ask is on topic as described above. If you need help determining whether your question can be asked on this site, you can ask for advice on  or . You may also want to edit your previous question to address any problems associated with it. To ensure a high standard of content quality and prevent disruption to the community, users who repeatedly post low-quality questions  Continue  The  doesn't address this issue as it is shown only to users with 10 reputation or less (rather than up to 50 and possibly higher) and does not address the specific problem with previous low-quality questions.  The point of this feature request is to provide a easily understood targeted message that actually teaches the user about what happened with the previous question he or she asked.  The EULA is generic and may not have conveyed the intended message clearly if the user still asked a low-quality or off-topic question. For reference,  currently has 143 reputation and the proposed message would probably have been shown after the first closed or deleted question. I know this can be a complex feature to implement, since it needs to be adaptive, but this should help eliminate confusion on what the rules are and minimize the incidence of good-faith users getting post-banned. Do any queries exist that require RIGHT JOIN, or can they always be re-written with LEFT JOIN?  And more specifically, how do you re-write this one without the right join (and I guess implicitly without any subqueries or other fanciness):   SELECT * FROM t1 LEFT JOIN t2 ON t1.k2 = t2.k2 RIGHT JOIN t3 ON t3.k3 = t2.k3 Meaning of hash symbol in pin name I'm reading the datasheet of a PSRAM (available ). In the top-right hand corner all the pins are listed. Some of the pin names end with a hash, e.g. LB#, OE#.  What does the # notation mean for pins? What registers to save in the ARM C calling convention? It's been a while since I last coded arm assembler and I'm a little rusty on the details. If I call a C function from arm,  I only have to worry about saving r0-r3 and lr, right?  If the C function uses any other registers, is it responsible for saving those on the stack and restoring them? In other words, the compiler would generate code to do this for C functions.   For example if I use r10 in an assembler function, I don't have to push its value on the stack, or to memory, and pop/restore it after a C call, do I?  This is for arm-eabi-gcc 4.3.0. Let $x \in \mathbb R$  Find a closed form of $\int_0^\infty\dfrac{\cos(xt)}{1+t^2}dt$ .   Let me give some context: this is an exercise from an improper integrals course for undergraduates. My teacher was not able to give a valid solution without  resorting to Fourier series.   He actually wanted to prove first that the function is a solution of the ODE $$ y-y'' =0$$ without succeeding in proving it.   Anyway the result sould be $\dfrac{\pi}{2}e^{-x}$  Thanks for any help on this subject. Imagine you are surviving in the wilderness traveling in a wandering manner. You've found this landscape that is wonderfully abundant in food and basking in a very favorable climate. Therefore, you decide that this is your new residence.  Night is approaching, so you haphazardly piece together a makeshift shelter to make for a more enjoyable living experience while you get your act together.  This shelter is only temporary. After you've become familiar with the land and have gathered finer resources, you will begin creating a proper home complete with securities, amenities, and furnishings.  The word I am looking for is an adjective meaning something similar to "created recklessly for temporary use."      The shelter you were building on your first night was a(n) ________   abode.   The words and phrases "ad-hoc", "off the cuff", "on the run" came to my mind, but none of those are understood to mean what I am trying to communicate (in fact, two of them are not even close). If you think of a word with a meaning that you believe to be similar to what I am searching for, I'd love to hear from you!  Thank you. Why is it so difficult to find the twitter account for a Stack Exchange site? I am not able to find a link to the twitter account of Academia SE (), for example, in the Academia SE main webpage.   Why are twitter links not included on the main site page of each Q&amp;A site in SE?