javascript - JQuery ui in not working with mfc htmldialog? -
this code perfect work asp.net c#. using code not working mfc htmldialog. error object does't support property or method tabs.
<head> <title></title> <link href="jquery-ui-1.8.8/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" /> <script src="jquery-ui-1.8.8/jquery-1.4.4.js" type="text/javascript"></script> <script src="http://code.jquery.com/jquery-1.10.2.js"></script> <script src="jquery-ui-1.8.8/ui/jquery.ui.widget.js" type="text/javascript"></script> <script src="jquery-ui-1.8.8/ui/jquery.ui.core.js" type="text/javascript"></script> <script src="jquery-ui-1.8.8/ui/jquery.ui.tabs.js" type="text/javascript"></script> <link href="jquery-ui-1.8.8/demos/demos.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> (function ($) { // rely on $ within safety of "bodyguard" function $(document).ready(function () { $("#tabs").tabs(); }); })(jquery); </script> </head> help?
first, please remove '$' before alert. if still doesnot work, try using <script src="http://code.jquery.com/jquery-1.10.2.js"></script>. if work, means cannot import library.
Comments
Post a Comment