in

CodePrairie .NET

South Dakota .NET User Group

chrisortman

innerHTML does not work in IE select boxes

Doing some MonoRail work I have a JS view that needs to update the options in a select box. Things had been working swimminly in Firefox, but then I tested in IE.

Note to self: BUG: Internet Explorer Fails to Set the innerHTML Property of the Select Object

 

I searched around and found this commit to the prototype code, but how do I get this change?

I see a change to the change log in the branch that contains this line

* Make Element#update work for SELECT tags in IE and Opera. [Tobie Langel]

 

My next step is then to check the change log on the trunk using svn blame

Where I see that this branch was merged with the trunk in revision 6725. I wonder what revision the latest and greatest code is based off?

svn info http://svn.rubyonrails.org/rails/spinoffs/prototype/tags/rel_1-5-1

Path: rel_1-5-1
URL: http://svn.rubyonrails.org/rails/spinoffs/prototype/tags/rel_1-5-1
Repository Root: http://svn.rubyonrails.org/rails
Repository UUID: 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Revision: 7180
Node Kind: directory
Last Changed Author: sam
Last Changed Rev: 6643
Last Changed Date: 2007-04-30 23:13:14 -0500 (Mon, 30 Apr 2007)

Nope not what I want. Guess I'll take a chance on running from trunk.

mkdir prototype
cd prototype
svn co http://svn.rubyonrails.org/rails/spinoffs/prototype/trunk .
rake dist

copy dist\prototype.js ....

See if my problem is fixed.....Eureka!

Comments

 

xyz said:

go to hell

January 19, 2010 5:09 AM
 

kortingscode said:

Geef mij maar kortingscodes van fotokorting.be hoor...

October 17, 2010 9:23 AM

Leave a Comment

(required)
(optional)
(required)
Add
Powered by Community Server (Commercial Edition), by Telligent Systems