Question: I've searched and tried different things but can't seem to get the needed effect. I'm very new to jQuery thus need your input. Basically if one of the `.handouts-sidebar` divs is taller than 250px I need to display a **View all** button. There are multiple divs with `.handouts-sidebar` class. Each has a sibling button `.btn-popup` which is initially hidden.

HTML Structure

```
<div class="content-sidebar">
   <div class="handouts-sidebar">September's Handouts</div>
   <a class="btn-popup">View all</a>
</div>
<div class="content-sidebar">
   <div class="handouts-sidebar">October's Handouts</div>
   <a class="btn-popup">View all</a>
</div>
...

<script type="text/javascript">
    var div = jQuery(".handouts-sidebar").height();
    if (div > 245 ) {
      jQuery(".handouts-sidebar").next().show();
    }
</script>

```

Help! Thanks!

Answer: 
CROSS APPLY the split function several times and use different delimiter

```
select  *
from    Tabletemp t
        cross apply DelimitedSplit8K(t.Barcode, ',') a
        cross apply DelimitedSplit8K(a.Item, '/') b
        cross apply DelimitedSplit8K(b.Item, ' ') c

```

Here i am using the DelimitedSplit8K by Jeff Moden
<http://www.sqlservercentral.com/articles/Tally+Table/72993/>
First, get yourself a string spltter See this [article by Jeff Moden](http://www.sqlservercentral.com/articles/Tally+Table/72993/)
The function(s) it builds allow you to pass in a delimited string, and split each value on to its own row.so you simply 

```
select tt.ItemCode, x.ItemValue as BarCode
from TableTemp tt
cross apply SplitString_CRL(BarCode, ' ') 

```

That will split each overloaded bar code into a single row per.