PDA

View Full Version : .boxWrap only once with Ext.Select()



geewhizbang
4 Aug 2009, 2:41 PM
Html Code with "box" parameter:

<div box="t">Some content here</div>
Boxwrap code using select

Ext.select('div[box^=t]').boxWrap()

How can I extend this so that I can modify or remove the "box" parameter so I don't have to worry about running this a second time, such as when a new set objects needs to be formatted?