Get jQuery slider values from DB
<p>I have a database with these tables</p>

<pre><code>company
==========
id | name |
==========
 1 | C1   |
 2 | C2   |
 3 | C3   |

 position
 =================
id | level | name |
==================
 1 |  1    | SE   |
 2 |  2    | SE1  | 
 3 |  3    | SE2  |
 4 |  1    | SA   |
 5 |  2    | SA1  |
 3 |  3    | SA2  |

 company_position
 ==========
 cid | pid |
 ==========
  1  |  1  |
  1  |  2  |
  1  |  3  |
  2  |  1  |
  2  |  2  |
  2  |  3  |
  3  |  1  |
  3  |  2  |
  3  |  3  |
</code></pre>

<p>In the UI, I have a <code>&lt;select&gt;</code> for displaying Company names. There is a corresponsding slider that should display Position range. onChange on the <code>&lt;select&gt;</code>, I would like the slider the receive new values for range (min, max, name of Position instead of value). How do I go about solving this? jQuery getJSON? I am not looking for code, rather an approach!</p>

<p><strong>UPDATE</strong>
I realized that my problem is that I am unable to imagine the structure of JSON callback data.</p>
