I have a page fragment returned from a spring controller as a result of an Ajax form submit. The fragment updates a table in the page. The table contains buttons that use jquery onclick function selecting button class.    The jquery select does not work if the table is returned as part of a fragment, the javascript seems not to be bound to the replaced html in the page even though the classes etc are all the same as previously.  Any ideas how to get the javascript to work with the returned HTML in the thymeleaf fragment?
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 stack.imgur currently down? I just wrote a question before this one and had trouble uploading a screenshot. The drop your image dialog throws no warning or error, but after uploading it won't show.  I also noticed that other questions won't load their images. Could this be some issue with imgur or similar?  Example:     When opening the image in a separate tab, Chrome gives a "too many redirects" error:    This might be linked to How can I define a mathematical function as a LaTeX macro? The result of a Google search for &quot;error&quot; and &quot;PREP line&quot; is:  &quot;error&quot; &quot;on line&quot;: 439,000,000 results &quot;error&quot; &quot;in line&quot;: 60.600.000 results &quot;error&quot; &quot;at line&quot;: 35,800,000 results  While on is the indisputable number one, in and at have also very many hits. In the following context, which one should I use.  __ the first line you create an instance of XXX and XXX leads to the runtime error __ the last line.  I think, both prepositions are different. Although the word create refers to the action which is executed while runtime, the former part refers to the actual code that is written. In contrast, the latter part is figurative. I don't refer to the written code. The error does not really occur in the code but the code is the representation of the assembly which fails. Thus, I have two bests guess:  On the first line you create an instance of XXX and XXX leads to the runtime error at the last line. In the first line you create an instance of XXX and XXX leads to the runtime error on the last line. Submitting a form by pressing enter without a submit button Well I am trying to submit a form by pressing enter but not displaying a submit button. I don't want to get into JavaScript if possible since I want everything to work on all browsers (the only JS way I know is with events).  Right now the form looks like this:  &lt;form name="loginBox" target="#here" method="post"&gt;     &lt;input name="username" type="text" /&gt;&lt;br /&gt;     &lt;input name="password" type="password" /&gt;     &lt;input type="submit" style="height: 0px; width: 0px; border: none; padding: 0px;" hidefocus="true" /&gt; &lt;/form&gt;   Which works pretty well. The submit button works when the user presses enter, and the button doesn't show in Firefox, IE, Safari, Opera and Chrome. However, I still don't like the solution since it is hard to know whether it will work on all platforms with all browsers.  Can anyone suggest a better method? Or is this about as good as it gets? Did Michael Corleone ever get revenge against those who killed his wife? Did Michael Corleone ever get revenge against those who killed his wife?   I just watched the 3 Godfather movies again and I was not able to figure out who made the attempt on his life and in the process killing his wife with the car bomb Sicily in the first movie. I know it was one of his body guards that planted the bomb, but I could not get who was actually behind it. I am guessing it was probably the Barzini crime family for the killing of Virgil Sollozzo, but I am just making an assumption there and if in fact it was the Barzini crime family then obviously he did get his revenge. I was hoping someone could back this assumption up, or not.  So did Michael Corleone ever get revenge against those who killed his wife? Cycles Normal Bake does'nt bake indents that are not tapered I can bake high poly normal maps with a lot of success, however if I try to bake a very simple indentation on a cube with no tapering I get a flat baked normal map, please see the below image to clarify what I mean.   I dont know I am doing wrong because if I scale down the indented face slightly it will bake the normal map correctly, as seen in the image below. Get Currently Executing Class/Method Name? I have seen a few different flavors of exception logging utility out there, and a common concept is to capture the class and method that were running when the exception was thrown. In the case that made me wonder this, the logger is used for more than just exceptions. It has method signatures like:  public static void logMessage     (LoggingLevel loggingLevel, String className, String methodName, String message)   It seems to me that we should be able to get the className and methodName parameters programatically. Can it be done? How? How to prove whether a matrix has rank $1$ If $u$ $∈ \mathbb R^{m \times 1}$ and $v ∈ \mathbb R^{n \times 1}$ how do you show that the $(m \times  n)$ matrix $uv^T$ has rank $1$? Would providing an example be sufficient to prove it? revoking apex managed sharing permission I'm using apex managed sharing to grant permissions very similar to how it is done in this example trigger:   However, I also need the ability to revoke or delete this access and having it revert to private. The reason for this is my understanding is that there are only two access options for managed sharing access 'read' or 'edit' with no 3rd option of 'none' or 'private'.  Reference:   I've tried adding the shares to a list and deleting the list and I'm getting the error: DELETE_FAILED, cannot delete owner or rule share rows,   I also noticed there is a field on the share object 'isDeleted' this field however is not writable.  Does anyone have experience revoking or deleting these permissions once they've been created?  Thanks! I have this question :  Proof if $f$ continuous in $x_0$ then there is a neighbourhood of $x_0$ so $f$ bounded.  I want to know if my proof is valid :  If continuous in $x_0$ then :  $$\lim_{x \to x_0} f(x)= f(x_0)$$  Therefore :  All $\epsilon&gt;0$ exists $\delta&gt;0$ so any $x$ that implies $|x-x_0|&lt;\delta$ implies $|f(x)-f(x_0)|&lt;\epsilon$.  Therefore for $\epsilon=1$ there is $\delta&gt;0$ so any $x$ that implies $|x-x_0|&lt;\delta$ implies $|f(x)-f(x_0)|&lt;1$.  $|x-x_0|&lt;\delta \rightarrow x_0-\delta&lt;x&lt;x_0+\delta$.  Lets choose $x_1,x_2$ that implies $x_0-\delta&lt;x_1&lt;x_2&lt;x_0+\delta$  Therefore in $[x_1,x_2]$ from Weierstrass from theorem bounded there. I am currently thinking about open-sourcing a project of mine and am in the process of preparing the source code and project structure to be released to the public. Now I got one question: how should I handle the signature key for my assemblies? Should I create a new key for the open-source version and publish it along with the other files to the SVN repository? Should I leave the key out and everyone who wants to compile the code should generate his own key?  How do you handle this? I feel a little bit uncomfortable with releasing a signature key to the public. Does $\int_{ - 1}^1 {\frac{1}{x}dx} = 0 \text { or } \infty $? Whenever the Doppler effect is mentioned, it's typically in the context of sound waves or electromagnetic radiation. On the cosmological scale, red-shifting is also important because of the enormous speed of receding galaxies, thanks to the expansion of the universe.   Yet, red-shift is always discussed as the red-shifting of electromagnetic waves. Can gravitational waves be red-shifted? If so, could observations of them be used like red-shifted electromagnetic waves from distant sources are; that is, to figure out how fast an object is receding? How to create a bootable USB stick? I am looking at this:    I need to create a boot disk to test Ubuntu to make sure it will run on a PC (Compaq Mini CQ10-120LA) I was given. I can create the boot disk off of a Mac (in English) or Windows (but Windows is in Spanish and foreign to me).   Questions:     What format do I choose for the USB stick? (I wish the instructions stated this). What is Dash? (Will I know when I run the installer?) Can I do this from a Mac or Windows computer? Or only from Ubuntu? What is the difference between a class and a set? I know what a set is. I have no idea what a class is.   As best as I can make out, every set is also a class, but a class can be "larger" than any set (a so-called "proper class").  This obviously makes no sense whatsoever, since sets are of unlimited size. It's not like you get up to 25 elements and go "oh, hey, sets are limited to a maximum of 20 elements, so we'll have to call this 25-element thing something else".  Does anybody know what the actual difference between a set and a class is?  Several people have pointed out that you can write paradoxes which involve sets. I get that. But where do classes come into the picture? if G is generated by {a,b} and ab=ba, then prove G is Abelian if G is generated by {a,b} and ab=ba, then prove G is Abelian  All elements of G will be of the form $a^kb^j,\,\, k,j \in \mathbb{Z}^+$   so I need to get $a^kb^j = b^ja^k$ Why didn’t anyone dial Abydos before Daniel solved the mystery of the seventh symbol? From what I recall from the movie, Daniel only finds the seventh symbol... however when he explain they give way to show him the star gate and they put their sequence in the dialing computer. This proves the dialing computer was prepared to dial 7 chevrons.  It’s also stated they’ve also tested the 6 previous symbols in the order they appear on before, one has to assume only to fail when they insert the 7th, making them aware of the fact you can, at least dial 7th chevrons.  With 39 chevrons on the gate and 6 already locked in, that leaves 33 to try to get a lock. Those are not that many not to go and simply try one by one so... how come nobody brute forced the thing? Getting "Authentication is required" when trying to access the Play Store Over the past week, whenever I try  to open the Play Store/Market app on my phone, the app thinks for a while and then displays this error message:     Authentication is required. You need to sign into your Google Account.   But I am indeed signed into my Google account, as seen in other Google applications running on the phone, and as seen if I open the menu in the Market app and click the "Accounts" button.  I suspect this might be related to the fact that over the past few months I've had two different Google accounts synced to this device, and I have recently removed one of them from the phone. No other Google application has had any problems with removing one account.  Does anyone know how I can solve this issue? I can still install applications by using the market website (now "Google Play"), but this is still a big inconvenience. I also think I stopped getting updates. If I were to attack with a 4/4 indestructible creature and it's blocked by a 4/2 creature with first strike, would my indestructible creature still attack during the second combat damage step, or would it just tap, not assigning any damage? If $x>0$, $\,x^{1/n}$ tends to $1$ as $n\to\infty$ I am looking for a proof possibly using the sandwich theorem and/or Bernoulli's inequality for proving the following statement:  If $x&gt;0$ then $x^{1/n}$ tends to $1$.