Using the selected values in slush bucket to query

samadam
Kilo Sage

Hi,

I have a slush bucket to select values of locations. i want to feed the selected values to a query in client script. I used the following but it doesn't pull the values.

I have the slush bucket defined: <g:ui_slushbucket name="sb" left_header="Available" right_header="Selected">

var values = sb.getValues(sb.getRightSelect());

What could be wrong?

1 ACCEPTED SOLUTION

Did you try: var values = sb.getValues(getRightSelect());

Without the second sb in it


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

11 REPLIES 11

samadam
Kilo Sage

yup that worked.

var values2 = sb.getValues(sb.getRightSelect());

Initially that's what I had but not sure what went wrong and now it works 🙂

Thanks

 

 

Nice! Glad I could help.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!