My purpose is to define ajax method callback with jquery.  all DOM of parent div are loaded dynamically i have define delete button foreach comments and i want to get confirmation from twitter bootrap modal befor throw the ajax request :        this.deleteComment = function () {          self = this;          $("button[name='deleteComment']").each(function (index, el) {              $(this).unbind().bind('click', function (event) {                  event.preventDefault();                  var ref = $(this).attr('data-ref');                  var callback = function () {                      /*$.ajax({                         url: '/path/to/file',                         type: 'DELETE',                         data: {param1: 'value1'},                       })                       .done(function() {                         console.log("success");                       })                       .fail(function() {                         console.log("error");                        });*/                      alert("multiple");                  }                  self.confirm("Delete Comment ", "Are you sure you want \                    to delete this Comment ?", callback);              });          });      }       this.confirm = function(head, question, callback) {             $(".modal-title").html(head);             var body = $("&lt;p/&gt;").text(question);             $(".modal-body").html(body);             $("#deleteModal").click(function(event) {                 callback();                 $('.customModal').modal('hide');             });             $('.customModal').modal('show');     }
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.
Will the Garbage Collector call IDisposable.Dispose for me? What is the rigor behind U subsitution? Understanding DNA match of 1,723 cM What are the strategies for getting feedback on articles? As an academic, one has to publish. Often, an article is drafted, and you need feedback of a colleague.  I see that quite often some perspective articles are often written by long-term collaborating pairs of authors.  What are some strategies people use to get feedback on their articles  (outside of immediate boss; and in the case that none of the friends in the field of work in the specific domain of the article, and one needs specific (not general) feedback)?   How do you approach a colleague to simply read your article. Or do you just mention it at a conference to the most suitable colleague - would you like to read an article and give me feedback? How do handle the co-authorship or acknowledgement? Do you establish the limits at the "approach time"?  What are some strategies to establish a "publishing" duos (buddies). Calculating $\lim_{x\to0} \left\lfloor\frac{x^2}{\sin x \tan x}\right\rfloor$ I have a script that I need to execute on an NTFS partition. The script's permission is set to 600.  I attempted to modify the permissions by running chmod 755 script.sh, which doesn't report a failure or anything - but it also doesn't change the permissions on the file:  $ stat script.sh    File: `script.sh'   Size: 297070      Blocks: 584        IO Block: 4096   regular file Device: 811h/2065d  Inode: 35515       Links: 1 Access: (0600/-rw-------)  Uid: ( 1000/  xxxxxx)   Gid: ( 1000/  xxxxxx) Access: 2010-09-30 14:05:16.041621000 -0700 Modify: 2010-09-30 14:05:05.070157000 -0700 Change: 2010-09-30 14:05:05.070475000 -0700  $ chmod 755 script.sh $ stat script.sh    File: `script.sh'   Size: 297070      Blocks: 584        IO Block: 4096   regular file Device: 811h/2065d  Inode: 35515       Links: 1 Access: (0600/-rw-------)  Uid: ( 1000/  xxxxxx)   Gid: ( 1000/  xxxxxx) Access: 2010-09-30 14:05:16.041621000 -0700 Modify: 2010-09-30 14:05:05.070157000 -0700 Change: 2010-09-30 14:05:05.070475000 -0700   As you can see, it remains unchanged. As I understand this, firewalls (assuming default settings) deny all incoming traffic that has no prior corresponding outgoing traffic.  Based on  and , reverse SSH tunneling can be used to get around pesky firewall restrictions.  I would like to execute shell commands on a remote machine. The remote machine has its own firewall and is behind an additional firewall (router). It has an IP address like 192.168.1.126 (or something similar). I am not behind a firewall and I know the remote machine's IP address as seen from the Internet (not the 192.168.1.126 address). Additionally, I can ask someone to execute ssh (something) as root on the remote machine first.  Could anyone explain me, step by step, how reverse SSH tunneling works to get around the firewalls (local and remote machines' firewalls and the additional firewall between them)?  What is the role of the switches (-R, -f, -L, -N)? Unemployed person applying for UK visa How to view the moderators here in MSE? I  am able to view the Stack Overflow site moderators by clicking on this    But when I search the same in meta.stackexchange, it does not display the site moderators.    The below message is displayed      We believe moderation starts with the community itself, so in addition   to privileges earned through reputation, we periodically hold   democratic moderator elections.      Please see A Theory of Moderation for information on our moderation   philosophy   My Questions:   Are there restrictions to view the site moderators in meta.Stackexchange? How does the above message make sense when viewing the moderators? Can someone explain this to me? I have Ubuntu 14.04 installed on my laptop. Can I clone the entire system with apps, settings, etc on a USB 3 pendrive, and then boot from that on other computers as a portable Ubuntu installation to take around with me?  I am trying a function that Timeshift has that's called "Clone the current system on another device". I've selected the pendrive as the target device. Timeshift was talking about this being bootable. But is it going to bootable on only this laptop, or on any system? For example, on an Intel Mac, or a Windows computer without the grub bootloader? Is that Timeshift function what I am looking for, or do I have to do something else?  Edit: The Timeshift clone failed to boot on the first system I tested it on. (A Dell Hackintosh that usually boots from USB just fine.) Where can I see my flag count / history? Is there a section or page that lists my flag count and / or history? Example of non-isomorphic structures which are elementarily equivalent I just started learning model theory on my own, and I was wondering if there are any interesting examples of two structures of a language L which are not isomorphic, but are elementarily equivalent (this means that any L-sentence satisfied by one of them is satisfied by the second).  I am using the notaion of David Marker's book "Model theory: an introduction". Identification of particles and anti-particles The identification of an electron as a particle and the positron as an antiparticle is a matter of convention. We see lots of electrons around us so they become the normal particle and the rare and unusual positrons become the .  My question is, when you have made the choice of the electron and positron as particle and anti-particle does this automatically identify every other particle (every other fermion?) as normal or anti?  For example the proton is a particle, or rather the quarks inside are. By considering the interactions of an electron with a quark inside a proton can we find something, e.g. a conserved quantity, that naturally identifies that quark as a particle rather than an antiparticle? Or do we also just have to extend our convention so say that a proton is a particle rather than an antiparticle? To complete the family I guess the same question would apply to the neutrinos. What is the 64-bit Firefox Beta PPA? How do I survive in the Nether? Whenever I travel to the Nether in Minecraft, I almost instantly get blasted to smithereens and chopped up into little pieces.  How do I survive in the Nether, at least long enough to build some sort of shelter and get situated? Override route helper methods Connectedness in the Quotient Space The problem says this:  Let $\sim$ be an equivalence relation in $X$ and consider the quotient space $X/\sim$. Prove that:   $X$ connected $\Rightarrow$ $X/\sim$ connected. If $X/\sim$ is connected and every equivalence class $[x] = \left \{ y\in X : y \sim x \right \}$ is connected then $X$ is connected.   Proof 1) is easy and I know how to do it. But I'm stuck in the proof 2). That's what I have tried:  Let's suppose $X$ isn't connected. Then, $X=U\sqcup V$ with $U$ and $V$ open.   Let $\pi : X\rightarrow X/\sim$ be the application that sends every $x\in X$ into his class. I want to see that $\pi (U)$ and $\pi(V)$ are open and that $\pi (U)\cap\pi (V)= \varnothing$ to conclude that $X/\sim$ isn't connected (because $\pi$ is surjective). But that is absurd, so $X$ must be connected.  I know how to prove that $\pi (U)\cap\pi (V)= \varnothing$, but I don't know how to show that $\pi (U)$ and $\pi(V)$ are open. Any advice?  Thanks! SOQL result ordering in the absence of an Order By clause In the absence of an  in a SOQL query, what order will Salesforce return results in?  Clearly if ordering is important then Order By should be specified, but I recently encountered a question about what the order would be if it was undefined.  My initial thoughts were Salesforce would return them in whatever order suited them. Much like .  For simple queries this would typically line up with the creation date descending and the Id ascending. For more complex queries it would depend on the joins being performed. Input form label alignment top or left? Is there a case insensitive version of the  jQuery selector or should I do the work manually by looping over all elements and comparing their .text() to my string?