Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] item.onclick = "alert('foo');";
- From: apwebdesign at yahoo.com (Anthony Ettinger)
- Subject: [Javascript] item.onclick = "alert('foo');";
- Date: Sun Nov 6 21:08:08 2005
this doesn't seem to work:
var item = document.getElementById('foo');
item.onclick = "alert('foo');";
http://developer.mozilla.org/en/docs/DOM:element.onclick
Anthony Ettinger
ph: (408) 656-2473
web: http://www.apwebdesign.com
- Follow-Ups:
- [Javascript] item.onclick = "alert('foo');";
- From: Roger Roelofs
- [Javascript] item.onclick = "alert('foo');";
- From: Matt Barton
- [Javascript] item.onclick = "alert('foo');";
- From: Flavio Gomes
- [Javascript] item.onclick = "alert('foo');";
- From: Mike Dougherty
- [Javascript] item.onclick = "alert('foo');";
- From: Anthony Ettinger
- [Javascript] item.onclick = "alert('foo');";
- From: Judah Frangipane
- [Javascript] item.onclick = "alert('foo');";
- Prev by Date: [Javascript] Firefox - write to form boxes
- Next by Date: [Javascript] item.onclick = "alert('foo');";
- Previous by thread: [Javascript] Firefox - write to form boxes
- Next by thread: [Javascript] item.onclick = "alert('foo');";
- Index(es):