THis is slightly how one of the custome tags on dev exchange works if
I recall. One caution though, and this may or may not be a concern,
this method is bandwidth intense, as opposed to other methods.
Normally I wouldn't make a point of it except in my work place
bandwidth is a BIG concern and this method is a bad solution for us,
for most it is perfectably acceptable. At my old workplace we put each
select in a hidden div, and unhid the proper div upon selection,
worked on all browsers like a champ, ate up bandwidth though :)

Adam H


On Thu, 10 Feb 2005 09:11:30 -0500, Dave Merrill <[EMAIL PROTECTED]> wrote:
> The fastest js-based method that I'm aware of is to have cf generate the
> html for each set of options as js variables, then just set
> select2.innerHTML to the one you want to use. Particularly efficient if
> there are a bunch of options to set, since you don't have to iterate through
> each one every time.
> 
> I know that the innerHTML attribute isn't html401 spec, but my understanding
> (http://www.quirksmode.org/dom/w3c_html.html) is that it is supported in the
> major browsers, and I've verified that it does work w current versions of
> IE, Firefox and Opera on win2k. Caveat emptor though: This particular code
> was built for IE specifically, and I haven't done any cross-browser testing
> of it.
> 
> Dave Merrill
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194050
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to