Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by T. Rietz on Apr 01, 2008 00:48
open dhtmlx forum
dhtmlxTabbar and prototype.js

I tried to change the tab content via the prototype framework. It works fine in FF but in IE 7
it doesn't. Maybe this isn't a problem of dhtmlxTabbar, but of prototype or of me. The tab's
content is simple html with two headlines and one div. If I try to update the content with the
$(element_id).update('new text') method so appears no reaction in IE.

Please tell me the reason of this behavior.
With thanks in advance,
Tobias Rietz
Answer posted by Support on Apr 01, 2008 08:42
If you are using not iframe based mode - the content of tab become available for locators, so it must be visible for prototype locator as well.
The problem may occur
    - when you are using not ID reference , the value inserted by innerHTML, as result locating elements by name will not work in IE
    - timing issue , please be sure that content of tab already loaded on moment of update call

If problem still occurs for you - please send any kind of sample where problem can be reconstructed ( you can send it directly to support@dhtmlx.com )