this is my html code
my script
- <script type="text/javascript">
-
- $(function () {
- var tabName = $("[id*=TabName]").val() != "" ? $("[id*=TabName]").val() : "employment";
- $('#Tabs a[href="#' + tabName + '"]').tab('show');
- $("#Tabs a").click(function () {
- $("[id*=TabName]").val($(this).attr("href").replace("#", ""));
- });
- });
- </script>
and error is
Uncaught TypeError: $(...).tab is not a function
at HTMLDocument.<anonymous> (CountryAdmin.aspx:1409)
at fire (jquery-1.7.1.js:1046)
at Object.fireWith (jquery-1.7.1.js:1164)
at Function.ready (jquery-1.7.1.js:435)
at HTMLDocument.DOMContentLoaded (jquery-1.7.1.js:923)
i did not understand why i get this error