catch click on generic createt section
Event binding on dynamically created elements?
Let he who believes in this prophet speak now what he knows.       Let him who believes in this prophet speak now what he knows. Getting a System.Type from type's partial name I want to get a System.Type given only the type name in a string.  For instance, if I have an object:  MyClass abc = new MyClass();   I can then say:  System.Type type = abc.GetType();   But what if all I have is:  string className = "MyClass"; Can a package overwrite the original commands in Latex? An example:  Without the amsmath package:   The equation environment numbers the equation automatically. The align environment cannot be executed.   With the amsmath package:   align and equation work seamlessly in numbering equations: I can use equation to write my first two equations, and align to write my third equation, and Latex will still number them correctly.   My questions are:   Is the code for the command equation after loading the amsmath package still the same as it was before loading the package? Moreover, if this is the case, then, in general, can loading different packages cause conflicts? And how do we avoid it? How to add CC to a webform email? How many possible electromagnetic wavelengths are possible? Disclaimer: Please keep in mind that I am a young highschool student with no background in physics, this research was done in the course of an hour, and my reasoning could very well be wrong.  After a short conversation about color, I did some thinking, and read  The answer claims that there are $\infty^{\infty}$ colors   My first problem is the definition of colors, I'm going to simplify this (although it's not the same thing) as electromagnetic frequencies. This is what I mean when I refer to color in the rest of this question  The problem with $\infty^{\infty}$ colors is that the plank length exists. This causes two problems to arise with $\infty^{\infty}$. If $l_p$ is assumed to exist (as it is), this means the smallest distance in the universe is $l_p$. So, all wavelengths of light can be divided into a set, of the wavelengths produced by objects at $0^{\circ}$ Kelvin to $\infty^{\circ}$ Kelvin. According to this logic, there are simply $\infty$ colors.  Things are complicated further, when you introduce the Plank Temperature ($P_t$). $P_t$ is the theoretical limit temperature of the universe (at least for the purposes of light and color) Because an object hotter than $P_t$ will produce light with wavelengths shorter than $l_p$. This would introduce an upper limit on colors too.  Wouldn't this mean that the total number of possible colors is equal to however many plank lengths difference there is between an electromagnetic wave produced by a 0 degree object and a $l_p$ object? And therefor far less than $\infty$? Does this reasoning make sense at all? Integral $\int_{0}^{\infty}e^{-ax}\cos (bx)\operatorname d\!x$ I want to evaluate the following integral via complex analysis $$\int\limits_{x=0}^{x=\infty}e^{-ax}\cos (bx)\operatorname d\!x \ \ ,\ \ a &gt;0$$  Which function/ contour should I consider ? Anti-virus comparison for Mac OS X This is not a "I use OS X, do I need Anti-Virus?" question.    I am looking at comparison and user opinion of existing AV products. I know I can avoid most (if not all) threats by being careful on the sites I visit, and the emails I download. But I need an anti-virus, for a variety of reasons - mostly to prevent my Mac as a carrier for viruses. (Many friends' USB drives turn out to be infected).  I was looking for the "Best" of the anti virus software out there.  I am looking prominently at anti-virus. "Internet Security" and the like are not important, and would try to avoid them if it would save money or not make my mac slower.  By "Best" I mean the best combination of detect-rate (or whatever that is called) and performance.  I don't intend to run it always in the background. Maybe I would do a onetime scan of my system and hard drives, and then it would be mostly on a need basis, especially on USB drives/portable hard disks of friends. So primary objective: High Detect rate  I have used  and  (got this with one of those software bundles sometime before, not the latest version) and had problems with both. Both sometimes hog my CPU, and somehow "lock" my USB drives preventing me from Ejecting it (I had to force eject them or just pull them off from the port) (thought off late Norton seemed a little better)  Ok, thats a long one. But my question is simple: What anti-virus do you recommend for the Mac?  Thanks. Why is the $(\frac{1}{2},\frac{1}{2})$ representation of the Lorentz group realized as the vector space of Hermitian $2\times 2$ matrices? I'm trying to create a multi-page table with all cells having the same height (as well as certain fixed widths) so that certain manual cut-and-paste operations are a lot easier.  One issue is that one column in particular is text-heavy and should line-break within the cell.  As I don't want it justified, I looked into alternatives such as .  This is doing exactly what I want for horizontal alignment.  For vertical alignment, I've looked at  and the \vphantom method detailed in the above link doesn't seem to be working.  Here's what I'm currently working with:  \documentclass[11pt]{article} \usepackage{array}  \newcolumntype{P}[1]{&gt;{\raggedright\hspace{0pt}\arraybackslash}p{#1}} \def\Z{\vphantom{\parbox[c]{1.7in}{\Huge Something Long}}}  \begin{document} \begin{tabular}{| c || P{0.5in} || P{0.5in} || P{5in} |}\hline  1.  \Z &amp;&amp;&amp; Long long long long long long long long long             long long long long long long long text  \\\hline 2.  \Z &amp;&amp;&amp; More long long long long long long long long             long long long long long long long text  \\\hline \end{tabular}   When I compile, the cells do not have a uniform height, and none of them are as large as 1.7 inches vertically.  So this suggests that somehow the \vphantom method is failing.  Does anybody know of a relatively straightforward solution to this problem? What licence is subscriber content provided under 4.0, 3.0 or them all? Fermi's golden rule and infinite probablity? I am slightly confused about the application of . Which during standard derivations indicates a probability of transitioning from the state $|i \rangle$ to the state $|f\rangle$ of: $$P=\frac{2\pi t}{\hbar^2} | \langle f | \hat V | i \rangle|^2 \delta(E_f-E_i-\hbar \omega)$$ This holds for large values of $t$ but for arbitrarily large values of $t$: $$P&gt;1$$ Which (to me anyway) makes no physical sense since there can't be a probability greater then 1 of been in the final state. If my interpretation is right then how is this problem resolved/allowable? and if it is wrong what part of what I have said is wrong? According to the documentation, they're pretty much interchangeable.  Is there a stylistic reason to use one over the other? Including null values in unpivoted column "I have" vs "I have got" I don't know what is the difference between using "I have got" and "I have" For example:      He's got broad shoulders.    Is it possible to say:      He has broad shoulders.    If yes, so what is the difference? Delete all but the most recent X files in bash Is there a simple way, in a pretty standard UNIX environment with bash, to run a command to delete all but the most recent X files from a directory?  To give a bit more of a concrete example, imagine some cron job writing out a file (say, a log file or a tar-ed up backup) to a directory every hour. I'd like a way to have another cron job running which would remove the oldest files in that directory until there are less than, say, 5.  And just to be clear, there's only one file present, it should never be deleted. Shortest sequence containing all permutations Given an integer $n$, define $s(n)$ to be the length of the shortest sequence $S = (a_1, \cdots a_{s(n)})$ such that every permutation of $\{1,\cdots,n\}$ is a subsequence of $S$.  If $n=1$, then $S = (1)$ is the shortest sequence containing all permutations of $\{1\}$, so s(1) = 1.  If $n=2$, then $S = (1, 2, 1)$ contains all permutations of $\{1,2\}$ as a subsequence, so $s(2)=3$.  Is there a general formula for $s(n)$? How to set custom DNS server for Chrome browser? I have a local DNS server that resolves all URLs *.domain.tld to 127.0.0.1. Also, I have the production server with the same address *.domain.tld. They have the same names, because subdomains interact with each other, and I have hardcoded domain URLs. I can't change them in the production server.  The problem is to reach the production server from my developer computer without touching the DNS server and /etc/hosts.  I found some options for Chrome such as --dns-server, --host-rules, but none is working. I have Google Chrome 23.0.1271.64 and Chromium 22.0.1229.94 on Ubuntu 12.10 64-bit. Infinite coproduct of abelian groups One can see on every text (book, lesson, comments) that a direct sum/coproduct of abelian groups is the same as a finite product but in the infinite case, the direct sum/coproduct is only a subgroup of the product.  Why does an element in an infinite direct sum only have finitely many components different from the neutral elements?  I don't see where the "finite" comes from when I look at the universal property.  Also, in another situation, a condition of "finiteness" appears and I think that is because of the same structure: a freely generated group, vectors space, algebra etc... has elements that are finite product/sum of generating elements. Because, if one really wants an infinite "sum" (or sequence) one may just take a formal serie. That is a ring, hence also an abelian group. I am running the latest version of Linux Mint with Cinnamon. I'm trying to map Caps Lock to Ctrl, but I cannot figure out how to do it. All web searches I've done have led me to older versions of Linux Mint (there is no keyboard layout option in my settings). How can I do this? Determinant of matrix