Have a Question?

If you have any question you can ask below or enter what you are looking for!

All Questions

How to display browser specific HTML?

8:54pm 10th April 2009 8724 Views

I'm trying to find a way to display one link to an IE user and another link to all other browsers using javascript or conditional…...

JavaScript converting decimal to binary

10:05pm 29th June 2015 1066 Views

From my understanding the binary number system uses as set of two numbers, 0's and 1's to perform calculations. Why does: console.log(parseInt("11", 2)); return 3…...

FB.ui share set the title, message and image

11:18am 21st May 2014 4179 Views

I'm using FB.ui to share a page to Facebook and I'm trying to set the title and message (image if possible but not important). I…...

Regex in Javascript for validating decimal number

4:59pm 5th April 2012 7246 Views

I want regex in javascript for validating number 10.89. It should allow 10.89 and should not allow 10.899 i.e. it should allow only upto two…...

I am using both Facebook PHP(4.0) and JS(2.0) SDK together. I can grab the user profile data with PHP but not the user's email. The…...

I have several ASP.NET UpdatePanels, each with an AsyncPostBackTrigger tied to the same button's serverside click event. Since only one UpdatePanel can be doing its…...

How to hide the Google Invisible reCAPTCHA badge

11:19am 14th June 2017 4732 Views

When implementing the new Google Invisible reCATPTCHA, by default you get a little "protected by reCAPTCHA" badge in the bottom right of the screen that…...

Why does `false && true || true` evaluate to true?

2:49pm 27th January 2014 9838 Views

According to MDN Logical Operators page: false && anything is short-circuit evaluated to false. Given this information, I would expect false && true || true…...

if variable contains [duplicate]

12:25pm 23rd May 2017 6706 Views

Possible Duplicate: JavaScript: string contains I have a postcode variable and want to use JS to add a location into a different variable when the…...

Shake a login form on error

1:51pm 27th December 2011 2576 Views

I have successfully built a login form using ajax and want to add a shake effect to the form when the user enters incorrect details.…...