Blog

Match Beginning & End of Words

One of the things I had to study up on while creating jPaq was regular expressions. The reason for this is because I wanted a way for those who know how to use wildcard expressions, but not regular expressions, to be able to use equivalent regular expressions. One of the Read more…

By Chris West, ago
Blog

Escape & Unescape – Deprecated?

Two of the most widely used JavaScript functions that are now deprecated are the escape() and unescape() functions. This means that in order to ensure that your code will continue to work in all future browsers, you should use one of the alternative functions as was indicated on MDN: encodeURI() Read more…

By Chris West, ago
Blog

View Saved Password

In different browsers, there are different ways to view saved passwords. If you don’t know how to do it in your password, and you are fortunate enough to find this page šŸ˜‰ , you could you simply do the following: Go to the page where your password is saved. Copy Read more…

By Chris West, ago
Blog

Solid Type Checking Functions

Now Available in YourJS John Resig definitely has some awesome code inside of jQuery. One of the things that I think is cool is how jQuery does type checking. After looking through the code, I developed my own flavor of functions using the same principle. Here is the code that Read more…

By Chris West, ago
Blog

Function Overloading in JavaScript

Method overloading is one of the nice things that exists in real programming languages such as Java. Even though JavaScript starts with “Java”, there are very few similarities between the two languages. Still, due to the power of the scripting language, there is a way to overload functions. The most Read more…

By Chris West, ago
Blog

Convert Anything To A Number

There are many times in JavaScript when you need to scrub the input and give output of a specific type. Today, I will cover how you can convert anything into a number. The function to do so is as follows: Now the question is, what happens under different circumstances. Look Read more…

By Chris West, ago
Blog

Math In the Address Bar

Did you know that you can do math problems in the address bar of your browser? Regardless of what browser your using, you can use its address bar to find the answer to an arithmetic problem. For instance, let’s say that you are using Internet Explorer and all of a Read more…

By Chris West, ago
Blog

Private Variables In JavaScript

Often times, many people have made claims that it is not possible to make variables private in JavaScript. I am here to tell you that those people are wrong. There are many implementations from JavaScript guru’s such as Douglas Crockford explaining how to do this. Although these implementations will get Read more…

By Chris West, ago