Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] To DOM or not -- calendar popup
- From: moseley at hank.org (Bill Moseley)
- Subject: [Javascript] To DOM or not -- calendar popup
- Date: Wed Mar 29 12:59:04 2006
Ok, so I have a form with a text input field that holds date strings. Next to the field I have an image of a calendar which runs a javascript popup. That should not display if javascript is not available. So, do I: 1) Wrap the calendar image and link in a <div style="display: none"> and enable it in a later script block? 2) or in the script search for the input field and then append the <img> to the field's parent node list?[1] Seems like 2 is the "correct" way to go, but seems like a bit more work. [1] Hum, or would you append to the <input> field? -- Bill Moseley moseley@xxxxxxxx
- Follow-Ups:
- [Javascript] To DOM or not -- calendar popup
- From: Paul Novitski
- [Javascript] To DOM or not -- calendar popup
- From: Steve Clay
- [Javascript] To DOM or not -- calendar popup
- From: Matt Warden
- [Javascript] To DOM or not -- calendar popup
- Prev by Date: [Javascript] TextNodes
- Next by Date: [Javascript] To DOM or not -- calendar popup
- Previous by thread: [Javascript] TextNodes
- Next by thread: [Javascript] To DOM or not -- calendar popup
- Index(es):