How to set class attribute of an element in Javascript?
How can I change an element's class with JavaScript?
Any javascript event occurring when user clicks Stop load button? "Whether or not" vs. "whether" This will depend on whether he's suitable for the job.    This will depend on whether he's suitable for the job or not.   This will depend on whether or not he's suitable for the job.         It is still not defined whether we're following that approach.   It is still not defined whether we're following that approach or not.   It is still not defined whether or not we're following that approach.         "Or not" doesn't really seem to be needed to complement "whether". Why do people use it then? Is it redundancy and nothing more? Or is it for emphasis? Or are there cases when "or not" is required for the sentence to be grammatical? In PHP, what does the ${$ } syntax do? How does a lurker gain reputation to receive privilege for commenting? Difference between SQL batch, statement and RPC? What is the difference between SQL batch, T-SQL statement and Remote Procedure Call? How can I tell if part of the T-SQL code is a batch or statement? Can I do it with reflection or something like that? How to add features to a PostGIS layer using Quantum GIS? I am using Quantum GIS and the PostGIS dbms. I am able to call the PostGIS layer into QGIS but i am unable to add feature to it. I am using the method of adding features to a Shapefile but still it is not getting reflected in the layer, and I don't know how to save it to the PostGIS database if I am able to add the feature to the PostGIS layer.  I may not have used some technical term for this problem because i don't know what to call it, I am expressing the problem in my own terms. Fiction novel or movie about sentient dinosaurs I remember parts of a story about some researchers finding a society of sentient dinosaurs. I believe they lived underground. From what I recall there were some steam punk elements and I think crystals were important.  From what I recall (this might be wrong) there was a book and also a movie about that story.  In the process, humans lived with these dinosaurs. I am not sure if that was like that from the beginning or if that happened later.  Any idea what that story might be? What class of Devil Fruit does the Gomu Gomu no Mi come under? Considering the three types of Devil Fruits that has been explained are 1. Paramecia Type - where the user can get super human abilities and change their body parts into weapons, etc. 2. Zoan type - where the use can turn into a particular animal and inherit its abilities 3. Logia Type - where the user's body inherits a particular element and the body becomes like air which cannot be touched or damaged by non Haki users.  So what exactly is the type of Gomu Gomu no Mi? It cannot be Zoan or Logia. It's very close to a Paramecia but still doesn't have a logical explanation to be of Paramecia type! So is it some special type of Devil Fruit? Evaluating $\int_0^{\large\frac{\pi}{4}} \log\left( \cos x\right) \, \mathrm{d}x $ Which SUSY models are affected by the recent LHCb result? Equation with high exponents I've bunch of folders in folder A. I want to move files from all those folders to A.  Or  I want to cut all files from child folders and paste them in parent folder.  How to do that? dev/sda1: clean, 552599/6111232 files, 7119295/24414464 blocks   After I turn on my laptop this message appears. The system never boots, the message just stays there. How can I modify title page so that it looks like it is in  video. Please seek to 16 seconds and watch title page. I do not have permission to post images. I liked this theme and I want to make a beamer theme that looks similar. I tried with beamercolorbox but I failed to position the box to the bottom.      Edit: Here is my minimum working example  \documentclass[xcolor=dvipsnames]{beamer} \defbeamertemplate*{title page}{customized}[1][] { \usebeamerfont{subtitle} \usebeamercolor[fg]{subtitle}  {\flushright \setbeamercolor{author}{bg=white,fg=Red} \usebeamerfont{author} \insertauthor\par \usebeamerfont{institute}\insertinstitute\par }  \vspace{0.2in}  \setbeamercolor{postit}{fg=white,bg=YellowOrange}  \begin{beamercolorbox}[sep=1em,wd=1.062\textwidth,ht=3cm,dp=3cm,right]{postit} \usebeamerfont{title} {\huge \inserttitle}\par \usebeamerfont{subtitle} {\insertsubtitle} \end{beamercolorbox} } \usecolortheme[named=YellowOrange]{structure} \useoutertheme{infolines} \setbeamertemplate{navigation symbols}{}  \institute{Harvard College Professor and\\ Johnstone Family Professor in Psychology, Harvard University}  \title{SAY WHAT?} \subtitle{Linguistics as a Window to\\ Understanding the Brain} \author{Steven Pinker}  \begin{document} { \setbeamertemplate{footline}{} \begin{frame} \titlepage \end{frame} } \end{document} Biblatex/biber fails with a strange error about missing recode_data.xml file How do I open PDF in Adobe Reader DC without locking the file from being updated by pdflatex? I don't know if this is possible on Adobe Reader DC on Windows, but asking in case someone has managed to do it.   When I am working on a large document in LaTeX (I use TexStudio) I sometimes like to keep a second copy of my PDF on a second screen so that I can easily refer to what I wrote before, while on my main screen I would have TexStudio with its preview window, which is typically automatically in sync with my current editing location.  On Ubuntu (which uses evince as its default PDF viewer) I used to do it quite nicely. It also seems to watch the PDF file for updates, and keeps in sync of any new versions of the PDF file and reloads it (staying on the same page) when I re-run pdflatex from TexStudio.  At the moment I am working on a Windows machine, and I am trying to recreate the same workflow. I would really like to open a second viewer on my second screen so that I can navigate easily to previous chapters without losing my current position in TexStudio's preview window (which will anyway go back to the current editing location when I run pdflatex).  The only problem however is that when I open the PDF in Adobe Reader DC to put it on the second screen and then I try to recompile the PDF I get the error "I can't write to file". I presume that for some stupid reason Adobe Reader DC maintains some write lock on the file, probably keeping it open while the PDF is visible on screen.  Is there a way to disable this stupid file-locking behaviour from Adobe Reader DC?  UPDATE  After some valuable comments, a workaround is possible using a different viewer. One could either use  or  (the default PDF viewer on Ubuntu, but also available for Windows). They are not so feature rich, and maybe do not look so nice, but in this case do the job.  A similar question was posted  for reference. Why was William Cage sent to the base? Can you please check my Cesaro means proof I wanted to prove the following:  if $x_n \to x$ then $y_n \to x$ where $$ y_n = {x_1 + \dots + x_n \over n}$$  Please can you tell me if my proof is correct? My proof is this:  Let $\varepsilon &gt; 0$. Fix $N$ such that $n &gt; N$ implies $|x_n - x| &lt; {\varepsilon \over 2}$.   Then $\left |{1 \over n} \sum_{k=N+1}^{N + n} x_k - x \right | &lt; {\varepsilon \over 2}$. Now let $M$ be such that ${|x_1 + \dots + x_N | \over M} &lt; {\varepsilon \over 2}$ and $M &gt; N$. Then  $$ \left | \sum_{k=1}^M {x_k \over M} - x   \right | \le  \left | \sum_{k=1}^N {x_k \over M}   \right | +  \left | \sum_{k=N+1}^M {x_k \over |M-N|}  - x   \right | &lt; \varepsilon $$ Here the proof is finished. But one can observe:  It is possible that $y_n$ converges even if $x_n$ doesn't: If $x_{2n} = 0$ and $x_{2n + 1} = 1$ then $x_n$ does not converge but $y_n \to {1 \over 2}$. How to perform case-insensitive sorting in JavaScript?