Posts tagged “javascript”

If you need to strip all non-numeric characters from a string (except for the period character) using JavaScript, try:

string.replace(/[^\d.]/g, "");
TinyURL! Bookmarklet

TinyURL! Bookmarklet

In which I explain how to create a handy bookmarklet

Pop-Up Windows

Use Eric’s Popup window Generator to easily add popup windows to your site! The windows are activated by clicking on a link, and can be fine tuned in every aspect, such as dimensions, scrollbars, toolbar etc. Awesome tool.

Comment the Link

Jason @ JPlay has written a great tutorial on how to add a user comment to the pop-up send-link hack. I’ve gotten multiple requests for this, so I’m sure it will interest many readers. Thanks, Jason!

JavaScript Trick

Want to spice up your web site with some easy JavaScript tricks? I’m going to show you how to make your buttons, text boxes, and textareas change their colors. All you need are four attributes and some additional functions in your javascript file. (If you want to learn about adding a javascript file to your

New Music Now

I’m really much more interested in this for its possible application elsewhere, but I just found this niftiest of little buttons from Emergent Music. Trés hep. Click the “read more …” link to see it in action. link via The Shifted Librarian



I found a nifty tutorial on Using Microsoft’s XMLHTTP Object to Get Data From Other Web Pages at that might interest some readers. And over at there is a lesson on creating a shopping cart in ASP for your small business web site.

Javascript Clock

How sour sweet music is When time is broke and no proportion kept! So is it in the music of men’s lives. I wasted time, and now doth time waste me For now hath time made me his numbering clock; My thoughts are minutes. William Shakespeare – Richard III

Source Viewer

Source Viewer

A quick source viewer bookmarklet

What Is This? is the personal weblog of me, David Vincent Gagne. I've been publishing here since 1999, which makes this one of the oldest continuously-updated websites on the Internet.

A few years ago I was trying to determine what cocktails I could make with the alcohol I had at home. I searched the App Store but couldn't find an app that would let me do that, so I built one.


You can read dozens of essays and articles and find hundreds of links to other sites with stories and information about Ernest Hemingway in The Hemingway Collection.