I have a table that looks like this: &lt;table id=&quot;tb&quot;&gt;   &lt;tr&gt;     &lt;td&gt;&lt;/td&gt;     &lt;td&gt;Key&lt;/td&gt;     &lt;td&gt;Value&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;     &lt;td&gt;&lt;img src=&quot;/img/dots.png&quot;&gt;&lt;/td&gt;     &lt;td id=&quot;upd_td_k_1&quot;&gt;key1&lt;/td&gt;     &lt;td id=&quot;upd_td_v_1&quot;&gt;value1&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;     &lt;td&gt;&lt;img src=&quot;/img/dots.png&quot;&gt;&lt;/td&gt;     &lt;td id=&quot;upd_td_k_2&quot;&gt;key2&lt;/td&gt;     &lt;td id=&quot;upd_td_v_2&quot;&gt;value2&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;     &lt;td&gt;&lt;img src=&quot;/img/dots.png&quot;&gt;&lt;/td&gt;     &lt;td id=&quot;upd_td_k_3&quot;&gt;key3&lt;/td&gt;     &lt;td id=&quot;upd_td_v_3&quot;&gt;value3&lt;/td&gt;   &lt;/tr&gt; &lt;/table&gt;  I have several event functions attached to the tds in table: $(&quot;#tb td[id^='upd_td_']&quot;).focus(function(e) {...}); $(&quot;#tb td[id^='upd_td_']&quot;).blur(function(e) {...}); $(&quot;#tb td[id^='upd_td_']&quot;).keydown(function(e) {...});  Now my definition of sortable looks like this: $(&quot;#tb&quot;).sortable({     items: 'tr:not(:first)',     cursor: 'grabbing',     axis: 'y',     dropOnEmpty: false,     start: function(e,ui){         doStuff();     },     stop: function (e, ui){         doOtherStuff();     } });  Now all I want is to make only the first td of every row but the first one grabbable to move the trs up/down. The problem is that none of the event functions get executed (focus, blur, keydown) it obviously &quot;sortable&quot; that cancels them out. Nothing happens when I click on the cell no 2 and 3 in row 2, 3 and 4. If I remove the sortable part , it works normally. What am I doing wrong here and how can it be fixed? Cheers
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.
can't get placeholder attribute to work in IE using iframe Subdivision surface modifier issue I'm following . After using Boolean I cleaned up the extra vertices. Edge flow looks fine on my mesh.   However, when I apply a Subdivision Surface modifier my mesh becomes really messy as if something is wrong with the edge flow.   Can you guys help spot the problem?  Mesh topology:    Subdivision issue: How to create a Sierpinski triangle in LaTeX? I have been trying to recreate the following image in LaTeX    and for me personally it has to be done with pdflatex. Although answers using pst-fractals From Jake I got a good start which led to the following code  \documentclass{standalone} \usepackage{tikz} \def\level{5} \usetikzlibrary{lindenmayersystems}  \begin{document} \begin{tikzpicture}[l-system={step=5pt, order=\level, angle=120},rotate=180]     \pgfdeclarelindenmayersystem{Sierpinski triangle}{     \symbol{X}{\pgflsystemdrawforward}     \symbol{Y}{\pgflsystemdrawforward}     \rule{X -&gt; X-Y+X+Y-X}     \rule{Y -&gt; YY}     }     \draw [black] (3,2) l-system     [l-system={Sierpinski triangle, axiom=X, anchor=north east},fill=white]; \end{tikzpicture}  \end{document}   There are however two problems with the code.   I layer a black triangle behind the lindenmayersystem? How do I keep the size of the triangle consistent with different number of recursion levels. I want to know the correct form:     He and I will go there   or   He and me will go there.   Which is correct? At some point I accidentally ran off a cliff with my War Horse which resulted in a death. After respawning, I noticed my War Horse was gone and the default Tennessee Walker was my main horse.   How did the War Horse disappear and is it possible to retrieve it? Drawing a square root spiral How do I make the panko bread stick to my egg-coated chicken? And now, for something completely different: The mushrooms are among us I'm talking about at least two juvenile sci-fi novels, read between second and fourth  public grades (U.S.A.) which for me places them around 1956-9.  The protagonists are a brother and sister, presumably my (then) age. They are friends  with a single man, a scientist who has built a rocket ship. The scientist is little fey,  physically; a (relatively) large, round head, balding, short in stature and striking long,  thin hands and fingers.  The rocket ship's final preparation is to slop a viscous, clear gloop over EVERYTHING, inside and out from a pail with a paintbrush. In flight, there is an encounter with the moon, and a very small planet with (non-threatening) inhabitants not physically unlike the fey rocket scientist. The planet orbits either the moon or the earth, not the sun, and strangely, some kind of mushroom(!) theme runs through the books. Really.  That's it. That's all I got (I was nine at the most, fer chrissake). My recollection tells me there was concealment from parents, a particular name for the planet and people  and flight through a spatial fog. I mention these things separately because I am less sure  of them than the previous two paragraphs. The author was blissfully unrepentant of the laws  of physics:  Earth gravity on a micro-planet, fog in space and super-gloop to ready the  ricketiest rocket. Worked for me.  I'm guessing even Richard, my previous mentor/savior might not be familiar with these.  Anybody? Author, titles? Or do you just recognize one of these? Why is "chmod -R 777 /" destructive? This is a  about File Permission and Why 777 is "destructive".   I'm not asking how to fix this problem, as there are a ton of references of that already on Server Fault (reinstall OS). Why does it do anything destructive at all?  If you've ever ran this command you pretty much immediately destroy your operating system. I'm not clear why removing restrictions has any impact on existing processes. For example, if I don't have read access to something and after a quick mistype in the terminal suddenly I now have access well... why does that cause Linux to break? How do the Treasure Goblins work? Every once in a while I'll come across the sneaky devils and they always flee.  What determines when they flee (time, distance, etc.) and do I get better loot by killing them faster?  Is there anything else I should know in order to get the most out of the encounter?  EDIT: What I mean is: Is the final drop better based on how effectively I defeat them? I tried logging in with a Google account, but I got the following error: I loved the keyboard shortcuts in Windows 7 (i.e. Win + &larr; moves a window to the left side of the screen), but I'm not sure on what some of the new ones might be for Windows 8.  What are all of the NEW keyboard shortcuts that I can use while working in Windows 8? One of the double sockets in our garage needed replacing (damaged after a washing pole hit it) - a pretty trivial job that I'd done before. So I flipped the MCB for the ring main, used a non-contact voltage tester to check nothing was there, and set to work. I disconnected the old socket fine, and was lining the cables up to fit into the new socket when... ow.  My finger bridged the live and earth pins, and suffice to say the live wire was very much alive. Bar a few finger spasms I was fine fortunately, and believe me I realise I was very lucky in that respect (I'm in the UK, so that was 240V.) Before finishing the job I then shut off the entire property's electrics - I was taking no more chances.  Further inspection confirmed two things I immediately suspected at this point - the MCB in the garage (installed before we moved into the house) was shutting off power via the neutral, not the live, and the voltage tester was dodgy (I had tested it on the same socket earlier and it seemed fine, further testing showed it presumably had a loose connection internally and only worked sporadically.) Needless to say it's now in the bin, and an electrician has been called to sort the MCB and check the rest of the house for similar issues.  Unsurprisingly this has shaken me up a bit - I would say I'm a rather safety conscious person, and in this case thought I'd done all the checks properly (including taping over the relevant trip switch to ensure no-one flipped it back on while I was working.) In some ways I can't help feeling I was unlucky that the MCB was wired by a cowboy, in combination with the voltage tester failing in the way that it did, at the time that it did. However, I'm not one to solely blame tools - clearly some, if not most of the blame here lies with myself also.  So in short, what should I have done differently - and was I primarily being stupid, or really quite unlucky? First Bash Script Problem My Notes has Title-Task2 and Content is "Talk to customers"  When I run following query:  SELECT Title,Content FROM ContentNote  Output is:  ('Title', 'Task2'), ('Content','/services/data/v42.0/sobjects/ContentNote/0692x000000WFDKAA4/Content')])]  how to get my actual content from this? I have been having extreme difficulties with this integral. I would appreciate any and all help. $$ \int \sqrt{\tan x} ~ \mathrm{d}{x}. $$ How Are Galaxies Receding Faster Than Light Visible To Observers? Extract, convert, store and reuse (x,y) coordinate components The meaning of imaginary time What is imaginary (or complex) time? I was reading about Hawking's wave function of the universe and this topic came up. If imaginary mass and similar imaginary quantities do not make sense in physics, why should imaginary (or complex) time make sense?    By imaginary I mean a multiple of $i$, and by complex I mean having a real and an imaginary part, i.e., $\alpha + i\beta$, where $\alpha, \beta \in {\mathbb R}$. How do I install pillow in Ubuntu 16.04 LTS?