jQuery version of Linq's Where() -


I want to use jQuery to get a radio button set out of the check radio button.

Here the form object is not a jQuery object but the "normal" JavaScript object is not.

I want the following:

  // "where" the jQuery array should be var myVal = $ (form.RadioSet). Where (': check') fliter. Val ();  

I know that I can get my results with:

pre = var myVal = $ (form) .find ('input [name = RadioSet]: checked ') .val ();

But this is a little more typing with "input" and "name" syntax.

Any thoughts?

Thank you,

I think the filterer is what you find As ...

As:

  var myVal = $ (form.RadioSet) .filter (': check'). Val ();  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -