JavaScript: Convert String to Integer (int)

To convert strings (text) to integer (number) in JavaScript use the parseInt function. For example: document.write(parseInt(“23 years”)); Will return the number 23, the function ignores the string “years” and return the integer 23 only. Another common example is:   If you enter 4 and 5, the script will return “45”  instead of 9.  To fix use the parseInt […]

Free Online Website Performance Testings Tools

Here is a list of 10 of my favorite website / web page performance testing tools. The tools test things such as load time, load speed and web server stress, many of them provide helpful tips on how to increases website performance. GTmetrix | Website Speed and Performance Optimization http://gtmetrix.com/   Broswer Mob Website Performance […]

Disable Auto Zoom in Internet Explorer or Safari Using HTML

To disable page auto zoom (auto scale)  in Internet Explorer, Safari or any other browsers, place the following META tag in the head section of your page: <meta name=”viewport” content=”width=device-width, user-scalable=no” />

Mr. Speaker: Debating Business Issues in Less than 200 Words

The third of three debates that I wrote for a business class a few years ago. The purpose of the assignment was to debate a business issue in less 200 words. I hope some Business Administration students will find this helpful. Debate 3: Should the House Bail Out Big Businesses Mr. Speaker, we are here today to […]