title: Jquery UI slider showing error
body: <p>Hi people am having a problem in MVC3 where my jquery slider is showing the following error to where i require the slider:</p>
  
  <pre><code>[object Object]
  </code></pre>
  
  <p>The slider is not visable the jquery script i have added is the following:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
      $(function () {
          $("#slider-range-max").slider({
              range: "max",
              min: 1,
              max: 10,
              value: 2,
              slide: function (event, ui) {
                  $("#Score").val(ui.value);
              }
          });
          $("#Score").val($("#slider-range-max").slider("value"));
      });
      &lt;/script&gt;
  </code></pre>
  
  <p>and its refering to this field in my view:</p>
  
  <pre><code> &lt;div class="editor-label"&gt;
          @Html.LabelFor(model =&gt; model.Score)
      &lt;/div&gt;
      &lt;div class="editor-field"&gt;
          @Html.EditorFor(model =&gt; model.Score)
          @Html.ValidationMessageFor(model =&gt; model.Score)
      &lt;/div&gt;
  </code></pre>
  
  <p>I have added the following jquery scripts into my view:</p>
  
  <pre><code>&lt;script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"&lt;/script&gt;
  &lt;link href="../../Content/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css"/&gt;
  &lt;script src="../../Scripts/jquery-ui-1.8.11.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../../Scripts/jquery.ui.core.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../../Scripts/jquery.ui.widget.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../../Scripts/jquery.ui.slider.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../../Scripts/jquery.ui.mouse.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="../../Scripts/modernizr-1.7.js" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>if you require addtional information please ask me thank you</p>