-
30 Mar 2007 11:57 AM #1
Change Ids by class
Change Ids by class
I need change all IDs of elements that set class is = 'test'
how to do this?
-
30 Mar 2007 12:02 PM #2
It's what DomQuery was made for. Try this:
Code:Ext.get(document.body).select(".test").each(function(el) { el.dom.id = // whatever you want });Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
30 Mar 2007 12:34 PM #3
Similar Threads
-
how can you change css class on a group of elements?
By gmoney in forum Ext 1.x: Help & DiscussionReplies: 1Last Post: 21 Feb 2007, 6:11 PM -
InlineEditor class
By masudkuet in forum Ext 1.x: Help & DiscussionReplies: 3Last Post: 8 Feb 2007, 7:04 PM -
YAHOO.ext.ToolbarMenu class
By mscifo in forum Community DiscussionReplies: 17Last Post: 25 Jan 2007, 1:34 AM -
New in SVN: MessageBox class
By jack.slocum in forum Community DiscussionReplies: 13Last Post: 2 Jan 2007, 6:16 AM -
one js menu class base on yui-ext and yui
By whouseit in forum Community DiscussionReplies: 8Last Post: 6 Dec 2006, 7:10 PM


Reply With Quote