[jQuery] Validation plugin and Version 1.1.3
Hi all!
Excuse me if my question is so obvious, I just joined today :-)
I would like to use Jörn Zaefferer´s Validation plugin(http://
bassistance.de/jquery-plugins/jquery-plugin-validation/) unfortunately
it does nor work with Jquery 1.1.3, it fails with errors stating that
it cant find "jquery.js" which looks like something hardcoded to me.
Could someone tell me what I´ve done wrong?
Thanks
// Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<script type="text/javascript" src="jquery/jquery-1.1.3.js" ></
script>
<script type="text/javascript" src=jquery/jquery.validate.js" ></
script>
<script type="text/javascript">
$(document).ready(function(){
$("#myform").validate();
}); // end ready
</script>
<style type="text/css">
#myform { width: 500px; }
#myform label { width: 250px; }
#myform label.error, #myform input.submit { margin-left: 253px; }
</style>
</head>
<body>
<form id="myform">
<input type="text" name="firstname" class="{required:true}" />
<input type="submit" name="submit" />
</form>
</body>
</html>