Results 1 to 2 of 2

Thread: Updating YAHOO.ext.Element update

  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Vote Rating

    Default 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 User Animal's Avatar
    Join Date
    Mar 2007
    Vote Rating


    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts