title: I need value of div custom attribute in Jquery
body: <p>Please check code below ,</p>
  <pre><code>&lt;div class=&quot;cp_option_color&quot;&gt;
    
    &lt;div id=&quot;cp-power-manual&quot; class=&quot;configure-seats-section&quot;&gt;
        &lt;!-- power or manual append --&gt;
     &lt;/div&gt;
     &lt;div class=&quot;validation-message&quot; style=&quot;display:none&quot;&gt;Please Select Color&lt;/div&gt;
     &lt;div class=&quot;cp-color-item-content&quot; data-name=&quot;199538&quot; style=&quot;display: none;&quot;&gt;
        &lt;h2&gt;Black&lt;/h2&gt;
        &lt;ul&gt;
           &lt;li data-li=&quot;Power Recline&quot;&gt;
              &lt;div class=&quot;cp-recline&quot; recline=&quot;power&quot;&gt;
                 Power Recline:
                 &lt;span class=&quot;&quot;&gt;
                    &lt;img src=&quot;checkmark.png&quot; alt=&quot;&quot;&gt;Ships in 
                    &lt;lable class=&quot;shipmentmsg&quot;&gt;6 Days&lt;/lable&gt;
                 &lt;/span&gt;
              &lt;/div&gt;
           &lt;/li&gt;
        &lt;/ul&gt;
     &lt;/div&gt;
     &lt;div class=&quot;cp-color-item-content&quot; data-name=&quot;199539&quot; style=&quot;display: inline-block;&quot;&gt;
        &lt;h2&gt;Brown&lt;/h2&gt;
        &lt;ul&gt;
           &lt;li data-li=&quot;Power Recline&quot;&gt;
              &lt;div class=&quot;cp-recline&quot; recline=&quot;manual&quot;&gt;
                 Power Recline:
                 &lt;span class=&quot;&quot;&gt;
                    &lt;img src=&quot;checkmark.png&quot; alt=&quot;&quot;&gt;Ships in 
                    &lt;lable class=&quot;shipmentmsg&quot;&gt;6 Days&lt;/lable&gt;
                 &lt;/span&gt;
              &lt;/div&gt;
           &lt;/li&gt;
        &lt;/ul&gt;
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  <p>I need custom attribute value of 'recline' attribute. If you see, there are same class name of its parent div(cp-color-item-content). But one is display none and another is display block. So, i need custom attribute value of 'display:block' div (i need 'manual' value).</p>
  <p>Your help would be appreciated.</p>
  <p>Thanks</p>