Ben Holmen

jQuery: $(’#formID’).submit() issue

I ran across a strange conflict today while working with jQuery and a form. My form was doing nothing when I called the jQuery .submit(); function — no errors, but no submit. My code:

$('input.saveApplication').bind('click', function() {
... other code ...
$('#application').submit();
});

The issue was caused by having an element with ID ’submit’:
<input type='submit' id='submit' value='Submit'>

Once I realized what was happening it made sense but it wasn’t immediately intuitive to me. If you have this error double check your IDs and rename as needed!

Filed under: Web Design — Ben @ 3:27 pm March 12, 2009

E-mail Counts for 2008

As a professional web developer I have to deal with a fair share of e-mail messages every day. I like to look back at the end of year when I archive my old e-mails and tally up how many I’ve received in the last 12 months — this year it was 5,018 inbound and 2,398 hand-crafted outgoing e-mails for a total of 7,416 or about 30 e-mails sent and received each working day.

Filed under: Web Design — Ben @ 5:03 pm January 19, 2009

How To Send E-mail Birth Announcements

Megan and I launched our first online business this week, Baby Tattle e-mail birth announcements. For $49.95, you can send a classy custom e-mail to as many contacts as you’d like with photos of your newborn. At the moment we have eight designs available and I will be adding two a week for the next five weeks.

Please take a look and let me know what you think!

How to send e-mail birth announcements
Unique online birth announcements

Filed under: Web Design — Ben @ 8:22 pm January 10, 2009

Older Posts »