Getting table cells values on checkbox selection  //function to get table cells values     function n() {   $('.m').on('click',function() {     var id = $(this).closest("tr").find(".t").text();     var p= $(this).closest("tr").find(".t1").text();     $('#c').append('&lt;span&gt;', id, '&lt;/span&gt;');   }); }  for(int i=0;i&lt;10;i++) {   div.innerHTML="&lt;table&gt;&lt;tr&gt;&lt;td&gt;&lt;input type='checkbox' class='m' onclick=n()&gt;&lt;/td&gt;&lt;td class='m'&gt;data&lt;/td&gt;&lt;td class='t1'&gt;data&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;"; } //appending values on checkbox selection &lt;div id='c'&gt;&lt;/div&gt;   While checkbox selected getting values of table rows in function n() in above example, but value appends in div#c, in such way as on first checkbox click goes 2 times, on second click 3 times prints and so on.  Why this happens?
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.
I have purchased a game on Steam and can not find out the details of the file or purchase. How does one find their CD Key from a game purchased in Steam? I have read that controlling FDR is less stringent than controlling FWER, such as in :     FDR controlling procedures exert a less stringent control over false discovery compared to familywise error rate (FWER) procedures (such as the Bonferroni correction). This increases power at the cost of increasing the rate of type I errors, i.e., rejecting the null hypothesis of no effect when it should be accepted.   But I was wondering how it is shown to be true mathematically?  Is there some relation between FDR and FWER? Why is the gate charge curve (Miller plateau) of MOSFETs dependent on Vds? After using the simple LM317 on breadboard variable power supply for a while, a need for a more rugged and reliable bench power supply has arose.    Short on money, i decided to build it as many other amateurs like me did. The thing is that, for my current needs i don't need a giant digitally controlled multi-channel 500 watt beast or something like that.  Instead what i really want is a low wattage positive and negative low voltage ouput -12v-0v-12v for example. However i really like that my power supply to be safe, reliable and fool-proof as far as possible. So after searching the web here and there, i found many designs that from my point of view fell in one of two divisions:-   Ones that use discrete op-amps and transistors. And ones that use integrated voltage regulators.   So -at least for me- i think that the ones with discrete op-amps and transistors are more prone to malfunctions and issues compared to the integrated ones with all of their internal over current and thermal protection circuits which would need to be discretely implemented in the bench power supplies that utilize discrete op-amps, however those designs have the advantage of ease of customization and more importantly that it is easier to have 0V output compared to 1.2V in integrated voltage regulator ones.    So i like advice to help me choose between circuits that utilize discrete op-amps like this circuit for example:-  Or ones that use integrated voltage regulators with their intrinsic robustness and low form factor.    Also as a side but related question i have seen many designs on the web that utilize negative voltage fed to the adjust or like pins to achieve 0V output from integrated voltage regulators like this single positive power supply:-     Or a positive and negative channels power supply that i really like its design because of simplicity (not because of laziness but to avoid the drawbacks that may come with complex designs especially when implemented by an amateur like me):- And the question is      Is it wrong or a system safety and reliability lowering act to feed negative voltage to adjust pin for LM317 for example?     I ask this question because the datasheet clearly states that the working output range is 1.2V-37V for LM317 for example, also no similar circuit is mentioned in the Typical Applications section except for the following one:- And even in that circuit, however the adjust pin is tied to the negative rail, it does't regulate during this interval instead it is shut until the next half wave at least that what i understand.    So at last to sum it up which alternative is best suited for my needs, its pros and cons and suggested circuits if possible. I downloaded Linux CAPT driver V2.60 from Canon and installed both .deb packages, which were listed under the 64bit folder with Ubuntu Software-Center. My Canon printer still won't be recognized. Is there anything else I have to do? My printer is connected over USB.  Ubuntu would make a great replacment for my office, but unfortunately without printer support I will still rely on Windows. To prevent overfitting people people add a regularization term (proportional to the squared sum of the parameters of the model) with a regularization parameter $\lambda$ to the cost function of linear regression. Is this parameter $\lambda$ the same as a lagrange multiplier? So is regularization the same as the method of lagrange multiplier? Or how are these methods connected? If the cricket ground Lord's is a possessive, what if you want to describe something belonging to Lord's? Would you say:     I was very impressed by Lord's's customer services.   It doesn't look right, so what is the correct way of writing it? Consider:  I need to do this. I need do this.  My English grammar knowledge tells me that &quot;need&quot; doesn't have the same status as the modal verbs &quot;may&quot;, &quot;can&quot;, &quot;should&quot; and what not. Hence the second usage where two verbs appear consecutively is incorrect. But yesterday, my native English speaking friends (Americans) told me that &quot;I need compute this.&quot; is a perfectly grammatical sentence, and one is simply omitting the &quot;to&quot;. How can this be? Is it a colloquial usage but grammatically incorrect, or is it grammatically correct? If it is grammatically correct, is it because &quot;need&quot; is a semi-modal verb? EDIT: in particular, is it okay to use &quot;need compute&quot; in a scientific paper? EDIT2: the exact phrase that raised the question was &quot;The advantage of this representation is that we need only compute sums and products&quot; A word used to describe someone who loves to be photographed Modiagram will not compile Python csv.reader: How do I return to the top of the file? When I'm moving through a file with a csv.reader, how do I return to the top of the file.   If I were doing it with a normal file I could just do something like "file.seek(0)".  Is there anything like that for the csv module?  Thanks ahead of time ;) Is there no electric field inside a conductor? I came across this statement while studying electric currents and I am confused:  "There is no electric field inside a conductor. Hence no current can flow through it".  Is there a fallacy in this statement?  Any help would be appreciated.  The conductor being discussed is ideal. What is the driving force for the current in this case? mod_security: another rule with same ID I have installed httpd 2.2.15 on CentOS 6.5 (minimal installation with no cPanel) with modsecurity 2.8. When I am starting httpd I am getting this error:  Starting httpd: Syntax error on line 23  of /etc/httpd/conf.d/modsecurity.conf:  ModSecurity: Found another rule with the same id   The line 23 is:  "id:'200000',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=XML" Why was Sam Wilson chosen for this, but not Bucky? At the end of the Avengers: Endgame movie,      old Steve Rogers passed down his mantle of Captain America   to Sam Wilson.  Why didn't he choose Bucky for this? Bucky seems more fit for the job as he is a super soldier. Computing: $\int_0^1 \sqrt[3]{x\log{\frac{1}x}} \, \mathrm dx$ Seeking alternatives to pgRouting for open source routing / network analysis? When will my device get the Android 5.1 update (Lollipop)? Android 5.1 (Lollipop) was officially announced on March 9th, 2015.  You can review the high-level changes at the announcement on the official .  Of course, not all devices will get this update right away and others won't get it at all. Each manufacturer and carrier often choose to add their custom modifications which tend to delay the official release.  When will each device get Android 5.1, either officially or unofficially, if ever?  See also: Write down the sum of sum of  sum of digits of $4444^{4444}$ Let $A = 4444^{4444}$;  Then sum of digits of $A = B$; Then sum of digits of $B = C$; Then sum of digits of $C = D$;  Find $D$.  What should be the approach here? Let's say it again, we all make mistakes, and I have just made one.  A brief history: I was doing some stuff on a VPS (Debian) I'm renting, when I noticed some strange behaviour. Using the netstat command I saw an non-authorized connection through SSH. I didn't know what to do, so I decided to close his connection using iptables:  iptables -A INPUT -p tcp --dport ssh -s IP -j DROP   But I am tired, and I wrote  iptables -A INPUT -p tcp --dport ssh -j DROP   and I kicked myself (and everyone else) out...  How do I fix this? Value passed with request.setAttribute() is not available by request.getParameter()