I have a table inside a form, where I can add more rows. when I change a value inside a cell, it should run a ajax function. this is working fine on the first row (loaded on page load), but when I add more rows, the function will not affect on the others.  what can I do to to use $("form :input").change('input', urenForm); also on the new rows?  This is not the original script but the main part is in it to show my problem (original is too much to post)    $(document).ready(function() {   var counter = 0;    $("#addrow").on("click", function() {     var newRow = $("&lt;tr&gt;");     var cols = "";      cols += '&lt;td&gt;&lt;input type="text" class="form-control" name="name' + counter + '"/&gt;&lt;/td&gt;';     cols += '&lt;td&gt;&lt;input type="text" class="form-control" name="mail' + counter + '"/&gt;&lt;/td&gt;';     cols += '&lt;td&gt;&lt;input type="text" class="form-control" name="phone' + counter + '"/&gt;&lt;/td&gt;';      cols += '&lt;td&gt;&lt;input type="button" class="ibtnDel btn btn-md btn-danger "  value="Delete"&gt;&lt;/td&gt;';     newRow.append(cols);     $("table.order-list").append(newRow);     counter++;   });      $("table.order-list").on("click", ".ibtnDel", function(event) {     $(this).closest("tr").remove();     counter -= 1   });   });  (function($) {   function urenForm() {     event.preventDefault();      var target = event.target,       parent = null;      for (; target &amp;&amp; target !== document; target = target.parentNode) {       if (target.matches('tr')) parent = target;     }      var childnodes = parent.querySelectorAll('input, select'),       data = new FormData();      for (var i = 0; i &lt; childnodes.length; i++) {       var child = childnodes[i];       data.append(child.name, child.value);     }      $.ajax({       url: 'ajax.php',       dataType: 'json',       type: 'post',       data: data,       processData: false,       contentType: false,       success: function(data, textStatus) {         alert('Changed');       }     });   };   $("form :input").change('input', urenForm); })(jQuery); &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"&gt;&lt;/script&gt; &lt;div class="container"&gt;   &lt;form&gt;     &lt;table id="myTable" class=" table order-list"&gt;       &lt;thead&gt;         &lt;tr&gt;           &lt;td&gt;Name&lt;/td&gt;           &lt;td&gt;Gmail&lt;/td&gt;           &lt;td&gt;Phone&lt;/td&gt;         &lt;/tr&gt;       &lt;/thead&gt;       &lt;tbody&gt;         &lt;tr&gt;           &lt;td class="col-sm-4"&gt;&lt;input type="text" name="name" class="form-control" /&gt;&lt;/td&gt;           &lt;td class="col-sm-4"&gt;&lt;input type="mail" name="mail" class="form-control" /&gt;&lt;/td&gt;           &lt;td class="col-sm-3"&gt;&lt;input type="text" name="phone" class="form-control" /&gt;&lt;/td&gt;           &lt;td class="col-sm-2"&gt;             &lt;a class="deleteRow"&gt;&lt;/a&gt;           &lt;/td&gt;         &lt;/tr&gt;       &lt;/tbody&gt;       &lt;tfoot&gt;         &lt;tr&gt;           &lt;td colspan="5" style="text-align: left;"&gt;&lt;input type="button" class="btn btn-lg btn-block " id="addrow" value="Add Row" /&gt;&lt;/td&gt;         &lt;/tr&gt;       &lt;/tfoot&gt;     &lt;/table&gt;   &lt;/form&gt; &lt;/div&gt;
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.
Find a non-negative function on [0,1] such that $t\cdot m(\{x:f(x) \geq t\}) \to 0$ that is not Lebesgue Integrable Abstract class with all concrete methods How does the telepathy supernatural ability work? Disposing WPF User Controls I looked "$\divideontimes$" up on Google and now I know that it's Unicode U+22c7 but when would it be used?  I am guessing that $5 \divideontimes 5 = 25$ and $1$...? Why can other users see the files in my home folder? I just added a new, underprivileged "desktop user," and I was surprised to discover that it can see the files in my home folder.  What is the rational for setting up such lax permissions? Shouldn't the association bonus acquired via serial upvoting be reversed? When a user's rep gets bloated because of serial upvoting, and as result the user is given the association bonus, shouldn't that association bonus also be reversed in case of serial upvoting reversal? Trace of a commutator is zero - but what about the commutator of $x$ and $p$? Operators can be cyclically interchanged inside a trace: $${\rm Tr} (AB)~=~{\rm Tr} (BA).$$ This means the trace of a commutator of any two operators is zero: $${\rm Tr} ([A,B])~=~0.$$ But what about the commutator of the position and momentum operators for a quantum particle? On the one hand: $${\rm Tr}([x,p])~=~0,$$ while on the other hand: $$[x,p]~=~i\hbar.$$ How does this work out? How do you pass a member function pointer? I am trying to pass a member function within a class to a function that takes a member function class pointer.  The problem I am having is that I am not sure how to properly do this within the class using the this pointer.  Does anyone have suggestions?  Here is a copy of the class that is passing the member function:  class testMenu : public MenuScreen{ public:  bool draw;  MenuButton&lt;testMenu&gt; x;  testMenu():MenuScreen("testMenu"){     x.SetButton(100,100,TEXT("buttonNormal.png"),TEXT("buttonHover.png"),TEXT("buttonPressed.png"),100,40,&amp;this-&gt;test2);      draw = false; }  void test2(){     draw = true; } };   The function x.SetButton(...) is contained in another class, where "object" is a template.  void SetButton(int xPos, int yPos, LPCWSTR normalFilePath, LPCWSTR hoverFilePath, LPCWSTR pressedFilePath, int Width, int Height, void (object::*ButtonFunc)()) {      BUTTON::SetButton(xPos, yPos, normalFilePath, hoverFilePath, pressedFilePath, Width, Height);      this-&gt;ButtonFunc = &amp;ButtonFunc; }   If anyone has any advice on how I can properly send this function so that I can use it later. Decoupling capacitors: what size and how many? I have a Python script I recently wrote that I call using the command line with some options. I now want a very thin web interface to call this script locally on my Mac.  I don't want to go through the minor trouble of installing mod_python or mod_wsgi on my Mac, so I was just going to do a system() or popen() from PHP to call the Python script.  Any better ideas? Thanks in advance! Suppose you want to ask someone to do something, say to tell you the way to a station. Which is more polite, "Would you tell me the way to the station?" or "Could you tell me the way to the station?"? Computers on board Starfleet vessels are quite primitive compared to on board computers such as . At their best, they can decipher requests such as "Computer, delete that last sentence" and utter things such as "That crewman is no longer on board this vessel". Even real life computers will be capable of this within a decade or so (by some estimates). Even computers such as HAL 9000 are likely to be available within a few decades.  So, in a genre where intelligent computers are abound, why this strange absence? Did the Federation run into some Battlestar-Galactica-like problem with AI in the past and decide to keep on board computers decentralized?  But if that is the case, how can one explain Data and highly intelligent holographic characters? The technology and programming constructs clearly exist, yet Starfleet vessels continue to be manned by hundreds of people standing in front of consoles. I want to design a member login site in WP but I have a doubt that is WordPress can handle more than 40000 users on same database?  I am not sure about this so I am stooping my work here. So please help me if anyone know exactly about this to proceed my project with WP. List of functions not integrable in elementary terms When teaching integration to beginning calculus students I always tell them that some integrals are "impossible" (with a bit of expansion on what that actually means).  However I must admit that the examples I give mostly come from "folklore" or guesswork.  Can anyone point me to a list (not a complete list of course!) of fairly simple elementary functions whose antiderivatives are not elementary?  I'm thinking of things like $\exp(x^2)$ which is the standard example, $\sin(\exp(-x))$ perhaps, things like this, not hugely complicated formulae. As much as I like having the hardcover core rule-books in front of me, usually I read or reference most information for RPGs on my computer.  Unfortunately, my google-fu has failed me at finding places to buy a Player's Handbook PDF, or even whether said PDF exists at all.  My question is this: Is there any place I can go to legally buy a D&amp;D 5e core rulebook PDF?  I'm not looking for the starter set or basic rules, since those are incomplete (and free), I'm just looking for the core books in PDF format. I'm running into trouble trying to mount a large iso:  dev@dev-OptiPlex-745:~$ sudo mount -o loop /home/dev/Hämtningar/matlab2011a_64.iso /cdrom mount: warning: /cdrom seems to be mounted read-only. dev@dev-OptiPlex-745:~$    Can you tell me how I should do it? It seems "See votes, expandable user card" goes on a second line on the activity page of the user profile resulting in a pretty bad look:    You can see it live on  (though of course that may change any day now depending on their rep-growth).  I'm using Chrome Version 67.0.3396.99 (Official Build) (64-bit) I've noticed something curious about the rotation of a rectangular prism. If I take a box with height $\neq$ width $\neq$ depth and flip it into the air around different axes of rotation, some motions seem more stable than others. The 3 axes which best illustrate what I mean are:  (1) Through the centre of mass, parallel to the longest box edge.  (2) Through the centre of mass, parallel to the shortest box edge.  (3) Through the centre of mass, parallel to the remaining box edge.  It's "easy" to get the box to rotate cleanly around (1) and (2), but flipping the box around (3) usually results in extra twisting besides the rotation around (3) that I'm trying to achieve (obviously a "perfect" flip on my part would avoid this twisting, which is why I call it an instability). If you're not quite sure what I'm talking about, grab a box or book with 3 different side lengths and try it out (but careful not to break anything!).  What's special about axis (3)?   Image taken from . Adding Vertical Reference in Python to ArcGIS feature dataset