I am trying to change the fade in a different background-color of my  tag through console. I am using the command $('body').animate({backgroundColor: "#fff"}, 'slow'); that I got  but all it does it returns the jQuery object which represents body. I do have jQuery included.  How can I transition to another background color through console?
I am trying to animate a change in backgroundColor using jQuery on mouseover.  I have checked some example and I seem to have it right, it works with other properties like fontSize, but with backgroundColor I get and "Invalid Property" js error. The element I am working with is a div.  $(".usercontent").mouseover(function() {     $(this).animate({ backgroundColor: "olive" }, "slow"); });   Any ideas?
Find remainder when $f(x^{12})$ is divided by $f(x)$ Unity Performance: How many Materials per Object? Antecedent Precedence? What is the command to add newline linebreak in \sum \prod? I am sure this question or similar has been asked but I cannot find it by searching so adding it to make it more accessible: what is the command/environment to add newline linebreak in \sum \prod so the expression is on two rows instead of one line hard to read?    MWE  \documentclass{article} \usepackage{amsmath,amsfonts}  \begin{document}  $$\sum^{N_{cut}}_{i=1,\newline e_1\in C_i,e_2\not\in C_i} \prod_{j\in C_i} p_j-\sum^{N_{cut}}_{i=1,e_2\in C_i,e_1\not\in C_i} \prod_{j\in C_i} p_j\geq 0$$  \end{document} Moon photography Hi I am a photography hoobyist. At the moment I am using a Nikon D3100 with the standard kit lens (18-55mm). I am interested in taking photos of the moon. I am debating whether to buy a 55-200mm lens or a 55-300mm lens. Which one would be better?  P.S I am on a tight budget and I am looking for a lens for personal use, not commercial.  Would appreciate any answers!  Thank you! Smallest Width for Galaxy S and Galaxy S2 What is the difference between varchar and nvarchar? remove numbers from filenames in Mac OS X I have a directory full of files with names in this format (with numbers as the start of each filename):  102_file.txt 104_list.txt 242_another_file.txt   I would like to rename them as follows (i.e. removing the numbers):  file.txt list.txt another_file.txt   Can anyone suggest a way to do this (presumably from the terminal)? I have the following problem: two groups A and B.  The proportions of married and single are ($p_1$) and ($p_2$) respectively, and the standard deviations ($s_1$) and ($s_2$). The sample consists of  ($n_1$) A and  ($n_2$) B observations.  Now I want to test whether the proportions are equal. I use the following formula to compute the z-statistic:  z = $abs(p_1 - p_2) / \sqrt{ \frac{p_1(1-p_1)}{n_1} + \frac{p_2(1-p_2)}{n_2} }$  and test the hypothesis: h0: $p_1 \neq p_2$  An alternative approach I tried is to estimate the t-value based on the standard deviations (hence just comparing means), that is by the formula (assuming unequal variances):  t = $abs(p_1-p_2)/\sqrt{ s_1^2/n_1 + s_2^2/n_2 }$  My question are:    do you agree with my approach or; should it be two-sided or one-sided?   Thank you. When i put the code $(f_{\mathcal{X}},f_{\mathcal{X}}^{\partial})$ I get the following:  But I want the subscripts to be aligned. How can I do this? Internet through wireless hotspot, intranet through wired network - can I use both at the same time? Is this NPN transistor AND logic gate practical? JSON and escaped double quote I'm currently making a callout to a 3rd party vendor and I'm getting a huge response. What is currently messing me up is this section:   "MessageSeq":13,"Description":"config file: config-qa1.txt\"","MessageTS":"2014-02-17T14:46:58","MessageLevel":4,"IsSystemMessage":false   As you can see here, the portion at the end of the Description value is ended with backslash double quote. If I attempt to parse this via the JSONParser I get an exception. Does anyone have an recommendations on how to resolve this?  Exception Message:  System.JSONException: Unexpected character ('"' (code 34)): was expecting comma to separate OBJECT entries at [line:1, column:3699]  Updated with sample Code   public class ResponseWrapper{     // fields from JSON to auto map     public Integer messageSeq;     public String Description;     public String messageTS;     public Integer messageLevel;     public Boolean isSystemMessage;     // parsing fields     private ResponseWrapper theResponse;     private JSONParser parser;      public void parse(String jsonString){         parser = JSON.createParser(jsonString);         parseJSON();     }      private void parseJSON(){            while (parser.nextToken() != null) {             if (parser.getCurrentToken() == JSONToken.START_OBJECT) {                 theResponse = (ResponseWrapper)parser.readValueAs(ResponseWrapper.class);                            }         }     } }  String responseString = '{"MessageSeq":13,"Description":"config file: config-qa1.txt\"","MessageTS":"2014-02-17T14:46:58","MessageLevel":4,"IsSystemMessage":false}'; system.debug('\n\nBEFORE\n' + responseString); ****Place code in here to test such as ReplaceALL*** ResponseWrapper parser = new ResponseWrapper(); parser.parse(responseString); Which is the best way to put function plots into a LaTeX document? How does the standard error work? I have been looking into the inner-workings of the standard error recently, and I found myself unable to understand how it works. My understanding of the standard error is that it is the standard deviation of the distribution of sample means. My questions are:  • how do we know the standard error is the standard deviation of the sample means when we usually take just a single sample?  • why doesnt the equation to calculate the standard error mirror the standard deviation equation for a single sample? Maybe the underlying question is what the Voltage-Current curve looks like. Can I drive it from a voltage source (like you drive a heater) or from a current source (like you drive an LED)? Or even different than those two options?  ADDITIONAL1: Say (hypothetically) I have two commercially available identical Peltier's, they are spec'd 6V/3A. Can I connect these in series to a 12Vdc power supply without any worries?  CONCLUSION1: Current/Voltage load curve is reasonably linear, both driving from current or voltage source will do fine as long as the device is operated within its spec. (Olin Lathrop, Russell McMahon)  CONCLUSION2: Don't drive a Peltier from PWM, power loss due to current increase, grows more rapidly than cooling power. (Olin Lathrop)  CONCLUSION3: Beware the mechanical wear of the device with continues cycling. Eg. don't use a thermostat on/off controller. (Russell McMahon) What does $(command) & do? Why could the pictures and paintings in Hogwarts talk and the photos of Harry's parents couldn't? How to achieve this 3D "Card" effect How do I create this type of effect with an image? I'm wondering how to get the thick edges and the tilted look. Is there an online tool that will convert a flat image to look like this? Reshape three column data frame to matrix ("long" to "wide" format)