'javascript' - tagged posts

This error I came across while making an ajax call using jquery ajax function. After a long analysis I was able to figure it out, so thought of sharing with everyone.

9 years ago by Pranay

For email address validation there is Official Standard: RFC 5322 but the regex to match this standard is very complex and would not be suitable for implementation in our applications, but the below regex is the most appropriate to be used in our applications. I didn’t find a bug till now.

To get the complete URL in the current browser window, use ‘window.location.href’ in javascript. There are many other properties (listed below) which return details on browser URL.

9 years ago by Pranay

There is no direct way in javascript/jquery to check if a string is in JSON compatible format, but we can achieve by a small work around.

9 years ago by Pranay

Sign up for our newsletter

Subscribe to receive updates on our latest posts.

Thank you! You are now subscribed.