Fehlerkonsole:
index_2.php:2ReferenceError: Can't find variable: $Also ist jQuery zu dem Zeitpunkt noch nicht bekannt.
Stehtdiese Zeile wurde rot markiert:
<script type="text/javascript">$(document).ready(function(){ $.notify.alert();});</script>vor oder nach
<script type="text/javascript" src="../jquery/jquery-1.9.1.js"></script>
?
Vermutlich davor.MfG
bubble
<script type="text/javascript">$(document).ready(function(){ $.notify.alert();});</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Script-Type" content="text/javascript">
<title>om Select Schicht</title>
<link rel="stylesheet" title="Default" href="../css/notify.css" type="text/css" />
<script type="text/javascript" src="../jquery/jquery-1.9.1.js"></script>
<script type="text/javascript">
//----------------------- Notify -----------------------------
function notify_error() {
$.notify.alert('Bitte eine Schicht auswählen!', { occupySpace : true, autoClose : 3000 });
};
$(document).ready(function(){
//$.notify.alert('Bitte eine Schicht auswählen!', { occupySpace : true, autoClose : 3000 });
});
//------------------------------------------------------------
</script>
</head>
<body_noty>
<form class="commentForm" method="post" accept-charset="utf-8" action="/~onkelmario/om/menue_0/index_2.php">
<fieldset>
<!-- Element 1 -->
<div>
<textarea name="beschreibung" id="beschreibung" disabled='disabled'class="error"></textarea>
</div>
<div id="speichern">
<!-- UI Button -->
<input type="hidden" name="ueberpruefung" value="1">
<input type="submit" id="submitButton" name="submitButton" value="Weiter" />
</div>
</fieldset>
</form>
<button onclick="notify_error()">Testbutton 1</button>
<script type="text/javascript" src="../jquery/notify.js"></script>
</body>
</html>