title: How to get the value of an observable using knockout
body: <p>I'm trying to access to the value of an observable from an other script that the one where the view model is defined, but I've no idea how to do that. Let me explain the thing:</p>
  
  <p>My view model is defined in <code>monitoringviewmodel.js</code> and used in <code>MonitoringTask.cshtml</code> where I display the data passed from it. In this webpage, I've a select list where the user can choose in which page they want to go. My idea was to store the link in the <code>value</code> parameter of each <code>option</code>. Then I would get which link the user choosed, and I would use their value to redirect them to the right page. In order to get the right data, I've decided to put an <code>id</code> on the <code>select</code>to identify it simply (my data are shown using a <code>foreach</code>, so I cannot just select the <code>select</code> tag bc it apears multiple time in the page). The <code>id</code> is put through an observable from <code>knockout.js</code>. My problem is that I don't know how to get the value of this observable in a script in my webpage.</p>
  
  <p>If you have any idea how to do that...</p>
  
  <p>Thanks</p>