Hi gang -
I''m working on a bit on my project that will, based on various things,
ping a script (ColdFusion) to generate some HTML (mainly form elements
of varying types - selects, inputs, buttons) and then drop it into a
div''s innerHTML area.
On Firefox 2, this works great - everything updates as expected. On IE
7, however, not quite the same. The div gets updated with the expected
content - visually, aside from expected IE/FF differences, it''s the
same - however, when going to edit those form elements within the div
- I''m getting some odd behavior.
On FF, I can click on a select element and the options pop right up -
input element, cursor apperas and I can type - buttons, click''em, no
problem.
On IE - clicking on any form element within this div brings up eight
white boxes (corners and centers of horizontal/vertical areas) on the
element. Doesn''t matter what it is - select, input, button. A
subsequent click fills in the spaces around the outside of the
element, between the white boxes, with a diagonal pattern of black/
white lines. Yet another subsequent click yields the desired result -
select element options pop, input element accepts input, button''s
function fires off.
I''ve got my prototype function, after it''s done, grabbing the
div''s
innerHTML value and tossing it into a dummy textarea, so I can snag
the code out. Naturally, the code from IE is a bit different than the
code in FF (as the two browsers are re-interpreting the code
differently when it''s getting dropped into the div''s innerHTML
area).
But the code differences don''t appear so significant that I can spot
why this is happening.
Odd thing is, in a page earlier in the process, which I prototyped-up
last week - I have three select elements, the last two in their own
divs - choosing an item from the first select updates the two other
div''s innerHTMLs with new code, complete with <select>
</select> - but
in IE, they work just fine.
Any nudges in the right direction on solving this problem would be
appreciated. :)
--Scott
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---