tof
24 Mar 2007, 3:20 PM
Hi people,
I have a form with different fields, with name like post[field].
ex :
<input name="post[title]" value="My Title" size="40"/>
I have to "select" these input, to give theme an error class (after a failed server-side validation).
But I couldn't make it work :
Ext.select("input[name='post[title]']")
neither by escaping, ...
Would you have a solution ?
Thanks in advance ;)
I have a form with different fields, with name like post[field].
ex :
<input name="post[title]" value="My Title" size="40"/>
I have to "select" these input, to give theme an error class (after a failed server-side validation).
But I couldn't make it work :
Ext.select("input[name='post[title]']")
neither by escaping, ...
Would you have a solution ?
Thanks in advance ;)