We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I am trying each one of the examples in http://agilityjs.com/docs/docs.html in my own server.
all is fine except the examples ** // Two-way input binding (radio) and ** // Two-way input binding (select)
I get the following error:
$node.prop is not a function http://localhost/agility/js/lib/agility.js Line 507
Is a bug, or the example is incomplete.
Ill appreciate your help.
bellow is the code I have for "// Two-way input binding (select)"
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>Agility</title> <script src="js/lib/jquery-1.5.2.min.js" type="text/javascript" charset="utf-8"></script> <script src="js/lib/agility.js" type="text/javascript" charset="utf-8"></script> </head> <body> <script type="text/javascript"> // Two-way input binding (checkbox) var obj = $$( {a:false, b:true}, "<div> </span> <input type='checkbox' name='test' data-bind='a'/> checked: <span data-bind='a'/><br/> </span> <input type='checkbox' name='test' data-bind='b'/> checked: <span data-bind='b'/><br/> </span> </div>" ); $$.document.append(obj); </script> </body> </html>
<head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>Agility</title>
<script src="js/lib/jquery-1.5.2.min.js" type="text/javascript" charset="utf-8"></script> <script src="js/lib/agility.js" type="text/javascript" charset="utf-8"></script> </head>
<body> <script type="text/javascript"> // Two-way input binding (checkbox) var obj = $$( {a:false, b:true}, "<div> </span> <input type='checkbox' name='test' data-bind='a'/> checked: <span data-bind='a'/><br/> </span> <input type='checkbox' name='test' data-bind='b'/> checked: <span data-bind='b'/><br/> </span> </div>" ); $$.document.append(obj); </script> </body>
</html>
The text was updated successfully, but these errors were encountered:
the problem was the jquery version loaded
Sorry, something went wrong.
:) Thanks.
No branches or pull requests
Hello, I am trying each one of the examples in http://agilityjs.com/docs/docs.html in my own server.
all is fine except the examples
** // Two-way input binding (radio)
and
** // Two-way input binding (select)
I get the following error:
$node.prop is not a function
http://localhost/agility/js/lib/agility.js
Line 507
Is a bug, or the example is incomplete.
Ill appreciate your help.
bellow is the code I have for "// Two-way input binding (select)"
The text was updated successfully, but these errors were encountered: