Results 1 to 3 of 3

Thread: How to dynamicly set html attribute of a container

  1. #1
    Sencha User
    Join Date
    May 2010
    Posts
    34

    Default How to dynamicly set html attribute of a container

    i didn't find any property or method which can modify the html attribute, if i need to modify the html attribute according to some text responsed from the server,how can i do that?

    Thanks!

  2. #2
    Sencha Premium User StuartAshworth's Avatar
    Join Date
    Feb 2009
    Location
    Glasgow, Scotland
    Posts
    418

    Default

    The "update" method allows you to update the html in a component.

    http://dev.sencha.com/deploy/dev/doc...nt.html#update

  3. #3
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    But it's not generally a good idea.

Similar Threads

  1. Set html dynamicly of a panel
    By freshface in forum Sencha Touch 1.x: Discussion
    Replies: 5
    Last Post: 5 Sep 2010, 7:15 AM
  2. Can anybody help? Removing attribute of html in ext
    By deployit in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 9 Dec 2009, 3:55 AM
  3. Get an Attribute of a html element
    By RoyalSouvenir in forum Ext 2.x: Help & Discussion
    Replies: 9
    Last Post: 14 Jun 2009, 2:44 AM
  4. How to set a timefield minValue dynamicly?
    By Dumbledore in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 3 Sep 2008, 10:53 PM
  5. does "BasicForm" have any attribute like html Form "target" attribute
    By michoeal in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 25 Dec 2007, 3:05 AM

Posting Permissions

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