Jump to content

JQuery selectors


244863

Recommended Posts

<div class="employee">

    <div class="input text required">

          <select id="Name3Risk" class="risk" name="data[Name][3][risk]" style="margin-left: 105px"</select>

 

I have a form field like this and am trying to transverse to the field to make changes to the attributes.

 

$(".employee", $("#employees")

    .children(".input")

          .children()

 

In the .children() I have tried:

 

"select"

".select"

"input[&type:select]"

"input:select"

 

And nothing seems to work. ANY IDEAS???

Link to comment
https://forums.phpfreaks.com/topic/212958-jquery-selectors/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.