Archive for the 'JavaScript' Category

AJAX and Web Usability

Friday, July 21st, 2006

Sitepoint has an interesting interview with Jacob Nielson about usability and AJAX. One of the points Nielson brought up really strikes a cord with me. He says “It’s important to remember that most web sites are not used repeatedly. Usually, users will visit a given page only once.”. I think this is key when deciding […]

Gmail and Saving via JavaScript

Friday, July 14th, 2006

I noticied (and read online) that Google had put in scrolling on their maps via the mouse wheel. But I just stumbled across something new while using Gmail - if you are typing an email and hit crtl+s, the normal Microsoft save command for word docs, it will actually use AJAX to save the email […]

Calculations in JavaScript

Monday, July 3rd, 2006

I just finished creating a “value” calculator for a company using JavaScript. It computed the overall value a person would save by joining the organization – nothing fancy, just a couple of input boxes, some simple equations and 10 values to display. What was tricky, at least for a JavaScript neophyte like me, was getting […]

Credit Card Validation with JavaScript and Regular Expressions

Monday, March 20th, 2006

Continuing from the last post, for the javascript I checked the credit card number of form submittal, (along with a lot other things, like required fields, correct phone numbers, etc… ) and if it isn’t correct, throw an alert and prevent the form from submitting (Ignore the PHP tags, haven’t gotten around to adding a […]