Here I have an example:     $('#key').on('click', function(){   $('.task').html("&lt;button id='key'&gt;Button&lt;/button&gt;"+Date()); }) &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt; &lt;div class='task'&gt;   &lt;button id='key'&gt;Button&lt;/button&gt; &lt;/div&gt;     How I can apply javascript for overwriting element and get different time for each button press?
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'd like to create a Gmail filter to filter all of my Google Calendar notifications into a separate folder.  Google Calendar notifications have headers that look like the following:  Reply-To: Helen Seu &lt;h...@g...com&gt; Sender: Google Calendar &lt;calendar-notification@google.com&gt; Auto-Submitted: auto-generated Date: Thu, 01 May 2014 05:25:28 +0000 Subject: Updated Invitation: Mobile design review @  Fri May 9, 2014 3pm - 4pm From: Helen Seu &lt;h..@g...com&gt; To: "Mike Burton" &lt;m...@g...com&gt;,    In particular, the email Reply-To is the user who created the meeting, and the Sender is calendar-notification@google.com.  For some reason, Gmail does not seem to allow you to filter on the Sender field of an email. Is there another clever way to filter Google Calendar notifications to a separate folder? How do I prove this using question using Cauchy-Schwarz inequality? I keep getting asked to do wedding photography - what is a fair price to ask? This may sound like a silly post...but, I need some "outside" opinion from people who know what they are doing.  I took up amateur photography as a hobby a couple of years ago...most of it being portrait photography of my children.  As I have posted my pictures on facebook, a plethora of people have loved my "work" and have been contacting me about my "photography" business.  I have been very up-front and honest with every one of them about only being an amateur, and never professionally trained.  That being said, people still hound me to take their pictures.  I am comfortable with my ability to take portrait style pictures....and I have even started charging $60 for a two hour shoot with the rights to the cd of prints.  I do not do my own printing.    Now, I have done three weddings for family members just over this last summer....and only as a wedding gift to them (in other words, I have not charged.)  But now, I am having others, who are not family members, wanting to "hire" me for their weddings.  Again....I have tried to tell them I don't do professional photography, only to be met with all of them still wanting to hire me.    My question is...what is a fair price to ask of these people?  They obviously still want me to work for them, knowing that I have no credentials.....but I have no idea how or what to charge for.  Can anyone give me some ideas? How to install XAMPP? What are some practices for getting a name change so that people can find me more easily? For a similar thing, , where Jay Wacker managed to get people to call him by the name Jay even though he didn't need to get a legal name change. I'm not sure how to go about this though.  The main problem with me is that I have such a frustratingly common name that a lot of people cannot find me when they google me. So many of them simply don't notice the middle initial that I always use in between my first and last names, and this could actually become a major issue in academia, since people have little time and are prone to giving up quickly if they want to look for me (or for my papers) and can't find me at all (I know this having seen how several academics use the Internet and how they look for people's names). This, in turn, could easily ruin my citation count in the future (it's not just that - it's helpful to others when I have a less common name so that they can more easily locate my stuff). I already know at least several people who specifically told me that they tried to find my email but that they couldn't find it (and this isn't limited to just them - there are many, many more - including long-lost friends who have wanted to talk to me for a long time, but who couldn't find me due to said ultra-common name). Of course, people can go through the respective university directories, but how many people really do that? From my observations (when I've seen people look for someone else), very very few do it. Hell, there are even several people at my OWN university who share the same exact first+last name as me.  In Academia, this is even a bigger problem because the vast majority of your connections will be people who only vaguely recognize/know you, so they may know most of the search clues. Even a "full name" + university won't solve all the problems, because I may switch universities and people may only remember the old university that I was in. I'm also very very interdisciplinary, so I want to be searchable to people outside my field as well.  And even if I fix the issue for Google with a massive SEO operation or whatever (that may even be impossible for my ridiculously common name), it's still not going to fix the problem for all of the other ways that people use search.  I'm currently transitioning between undergrad and grad school, so now may be the perfect time for a name change? But I don't know what to do. Is it better for me to change my first name or my last name? The problem is that a citation like "Chen 2011" is going to produce so many entries that no one will ever find them, even though they frequently do google things like that (and I simply cannot prevent people from googling something like that). Chen is so frustratingly common that even a "Chen and Name2 2011" paper could come from some random medical paper rather than from something I wrote.  As an additional complication, the % of Chinese people using the English Internet is exponentially rising, and I can only expect the problem to get worse in the future because of that (and not just for my first name, but even variants of my first name too). I want to implement an addition key layer, so that I can access non-alphanumeric keys without having to move my wrists.  I've been using Autokey for this purpose, but the experience was unsatisfactory: it had occasional lags and let original keystrokes slip into certain apps.  So I need a low-level solution. "None is" or "none are" I was asked if the following sentences will create problems and what are the assumptions I have to make:  (d) There are grammarians in the room but none of them is an American. (e) There are grammarians in the room but none of them are Americans.  What is the problem in both sentences? They clearly have two main clauses which are connected by the coordinated conjunction 'but'. I know that grammar-wise, the 'is/are' don't really matter since both can be used with 'none', but would the tense in the first main clause 'are' affect the use of 'none'? Are there cheap GPS or other navigator devices with downloadable maps for the whole world? I don't need a recommendation or a list but my knowledge of GPS and "navi"s and the differences between them is an utter mystery to me.  But often I'm lost in backstreets in random countries where access to something like a live Google Maps would be awesome. I absolutely cannot afford a smartphone with worldwide roaming though.  Can GPS's do what I want or am I barking up the wrong tree? If they can is it only high end ones than can? How to exclude some files from filename expansion mechanism in bash? I am reading an older physics book that my professor gave me. It is going over Coulomb's law and Gauss' theorem. However, the book gives both equations with an $r^3$, not $r^2$, in the denominator. Can somebody please explain why it is given as r^3? An image is attached for reference.  Also for equation 1-24, can somebody please explain how the middle side is equal to the right side with the del operator? Why is there no article in "We are Family"? How do you backup all your emails, by copying the 'Outlook' folder? (Outlook 2013) [...] All versions of Outlook use pst files, but the disk location has changed over the years. Right-click your email account on the left in Outlook and select Data File Properties. Click Advanced to see the filename. Only the pst file is essential, but copy the whole folder to back up Outlook’s settings and preferences too. Just copy it back to restore it, or click File, Open, Open Outlook Data File. Outlook can work with any pst file stored anywhere.  Backing up your Outlook data file(s) is as easy as copying your .OST or .PST files over to another hard drive, cloud server, thumb drive, or some other storage medium. You remember how to locate your data files? Open the Mail control panel and click the “Data Files” button. Click “Open File Location…” and you can then back up your data files. [I don't display  here)  After following the instructions above, I arrive at:  C:\Users\[my username]\AppData\Local\Microsoft\Outlook  However, all Outlook Data Files here are .ost, and NOT .pst. In  File &gt; Open &amp; Export &gt; Open Outlook Data File, 'Open Outlook Data File' only works for .pst. What is wrong here? Where's the folder with all the .pst files? How can I backup all my Outlook email accounts simultaneously? Extract Raster Value into Polygon Attribute I have Raster Data for a State which has Elevation Data in its pixels. I also have Vector layer which has the 300 divisions of State. what I need is, I want to get the average elevation value of particular division from the raster data using ArcGIS. I tried extract by mask in ArcGIS to extract individual polygon to clip the raster into 300 raster then from individual raster i have collected average elevation but it has taken days together to complete the work. Is there any other easy way to get it? Where did they go / do they went? Where did they go?   Where do they went?   Can you please advise which of above forms is correct?  I'm pretty sure that first one is fine but wondering about second one.   Can I use a second form as well or it's incorrect? Fastest Gun in the West Problem How to learn commutative algebra? How do I retrieve an HTML element's actual width and height? Suppose that I have a &lt;div&gt; that I wish to center in the browser's display (viewport). To do so, I need to calculate the width and height of the &lt;div&gt; element.   What should I use? Please include information on browser compatibility. Zero to the zero power – is $0^0=1$? Simple problem with Manipulate and Plot Since I have an onboard Intel graphics card, and a ATI Radeon display controller, I was wondering if I could switch between the two as my graphics in use, as I could in 14.04 LTS through ATI Catalyst?  16.04 LTS is using the onboard, and the hardware listing lists ATI as well as display controler, but not in use. Additional drivers don't provide anything.   So is AMDGPU being used, or is ATI disabled?  lspci:  00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09) 04:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus XTX [Radeon HD 8890M / R9 M275X/M375X] (rev ff)   lspci -nnk | grep VGA -A1  00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09)     Subsystem: Lenovo Broadwell-U Integrated Graphics [17aa:3824]