1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Posts
    49
    Vote Rating
    0
    scottw is on a distinguished road

      0  

    Default Updating YAHOO.ext.Element update

    Updating YAHOO.ext.Element update


    I am using the method 'update' in YAHOO.ext.Element (passing false for 'loadScripts'). The text that I am updating (inserting) is HTML markup (including DIVs, FORMs, LABELs, INPUTs, etc). First, is 'update' supposed to support updating the Element with HTML markup, or is it intended for simple text updates?

    In firefox it seems to work fine, but in IE6 I get a strange behavior with the styling of the updated data. On my machine it smashes my form buttons together and on another system all of the LABELs are bold even though they should not be.

    Is there some other technique I should try? Any other thoughts?

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    It loads HTML markup using innerHTML.

    It won't process <style> elements. All your in-house styles should be in your main page.

Similar Threads

  1. How to use update manager for updating my html
    By kd21 in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 13 Mar 2007, 4:29 AM
  2. Element.update()
    By Animal in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 23 Oct 2006, 12:59 PM

Thread Participants: 1