Is there a better way to do this jQuery selection? -


This is a better way to do jQuery selection:

  $ ("p. DynFieldWrapper: Input: Not (: Text): No (Textarea) "). Focus (HideDynamicFormError). Click (HideDynamicFormError); $ ("P.DynFieldWrapper: text, p.DynFieldWrapper textarea"). Blurred (HideDynamicFormError);  

I am compelled to click on the incidents and focus for my function, HideDynamicFormError, text box and textures and to click on incidents of other form input elements.

It's working, but I'm still hanging things in jQuery, and wondering if there's a better way to do this?

The first one can be a little easier:

  $ (" P.DynFieldWrapper: input: not (text, textarea) ")  

Besides, you're fine.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -