Announcement

Collapse
No announcement yet.

jQuery und MVC4

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • jQuery und MVC4

    Hallo Forum,

    ich habe da ein Problem mit dem Einbinden von jQuery unter MVC4. Ich versuche seit Stunden das Progress-Plugin in meinem MVC-Projekt einzubinden:

    Code:
      <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
      <script src="http://code.jquery.com/jquery-1.9.1.js" type="text/javascript"></script>
      <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
    was allerdings nicht klappt. Bei einem direkten Einbinden von jQuery habe ich auch dasselbe Problem:

    Code:
      <script>
      $(function() {
        $( "#progressbar" ).progressbar({
          value: 85
        });
      });
      </script>
    die Mehtodet oder Eingenschaft "progressbar" wird nicht erkannt.
    Hat jemand hier damit Erfahrung, warum MVC4 sich mit jQuery in dieser Form nicht zufrieden gibt? Dies passiert auch bei allen anderen jQuery-Plugins.

    Danke im Voraus
    Zuletzt editiert von Smart; 28.01.2014, 08:42.
Working...
X