umm
i dont get it, where i should put the jquery thing? insdie you JS file? 

here is the full code:

<div id='nicknamemaindiv'>

<label> nickname1 <em>*</em></label>

<input name='nickname' type='text' id='MyForm1nicknameInputfield' value='אמ'
maxlength='45'  />



<!-- nickname div end -->




<!-- aboutme div start -->
<input name='uaboutme' type='text' id='MyForm1uaboutmeInputfield'
value='דגכדג' maxlength='45'  />


</div>

and i want to add a class so i can move the error message to div 
id='MyForm1uaboutmeInputfield'


(on key up your script generates me this div: 
<label for="MyForm1uaboutmeInputfield" generated="true" class="error">Please
enter a value of at least 3 characters.</label>
)
and i want to do somthing like
<label for="MyForm1uaboutmeInputfield" generated="true"
class="errorTWOFIELDS">Please enter a value of at least 3
characters.</label> or whatever so i can control the text properties inside
the class div

idea?



Jörn Zaefferer wrote:
> 
> 
> amircx schrieb:
>> hey. is there a way to manipulate only error div of specipic field? like
>> if i
>> got:
>> <label> uaboutme2222222 </label>
>> <input name='uaboutme' type='text' id='MyForm1uaboutmeInputfield'
>> value='dsadsad' maxlength='45'  />
>>
>> </div>
>>  the error div that its generates its :
>> <label for="'MyForm1uaboutmeInputfield" generated="true"
>> class="error">Please enter a value of at least 2 characters.</label> 
>>
>> so i want to do somthing like
>> label #'MyForm1uaboutmeInputfield { postion  : left 1px... color:red }
>>
>> got me?> change only the spepic field div propetiy..
>> is that possible?
>>   
> As IE6 doesn't support CSS attribut selectors, you've got to mix JS with 
> CSS:
> jQuery("[EMAIL PROTECTED]").addClass("special");
> Now in CSS:
> label.special { postion : left 1px... color:red }
> 
> -- 
> Jörn Zaefferer
> 
> http://bassistance.de
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jquery-validation-and-error-div...help-tf3543666s15494.html#a9915090
Sent from the JQuery mailing list archive at Nabble.com.

Reply via email to