For a check box with the id “checkbox”, here is how to check if its checked:
$('#checkbox').is(':checked'); // Returns True if checked else False
For a check box with the id “checkbox”, here is how to check if its checked:
$('#checkbox').is(':checked'); // Returns True if checked else False
To check if a variable(a) has the value null, use the following code:
if (a === null) // Best way to do it!
if (a == null) // This does return true if a is null but it returns true also if a is undefined... so avoid it
To check if a variable(a) has the value undefined, use the following code:
if (typeof a === "undefined") // This works
if (a === undefined) // This works too
if (a == undefined) // This does return true if a is undefined but it returns true also if a is null... so avoid it
Facebook recently update added a new feature to its mobile app. The feature loads all links clicked on Facebook to open in the in-app browser as opposed to a browser installed on the phone. While this is faster, it seriously limits what you can do with the open page (for eg. sharing is limited). But fortunately this feature can be disabled.
To disable it, do the following:

If you are using Android ICS or above there is a simple way to keep track of your Mobile Data Usage.
Note: The Data usage of your phone may vary slightly from your carrier’s tracking(this is why we limit your usage to 95% of your quota)

The Nexus 5 is capable of taking live photos while recording a video. Here is how to do it:
{adinserter 2}
These pictures are limited by the resolution of video being recorded. If you are recording a Full HD video, the picture will be of the size 1920×1080 pixels
