I read topics on this topic on SO, but could not get the required o / p. They said that this problem occurs because some js files are included several times. But I tried to delete several files one by one, but still get a TypeError error TypeError: $(...).dialog is not a function . Where do I include multiple js files? Can someone please indicate this. Thanks.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script> <script type="text/javascript" src="{% static "js/bootstrap.js" %}" ></script> <script type="text/javascript" src="{% static "dashboard/js/jquery-ui-personalized-1.6rc2.min.js" %}" ></script> <script type="text/javascript" src="{% static "dashboard/js/inettuts.js" %}" ></script> <script type="text/javascript" src="{% static "dashboard/js/dashboard.js" %}" ></script>
I get the following errors: -
Error: Syntax error, unrecognized expression: #intro, ...nction(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"... jquery.min.js (line 4) TypeError: t.widget.extend is not a function ..."drag",e,s)===!1)return this._mouseUp({}),!1;this.position=s.position}return thi... jquery-ui.min.js (line 5)
javascript jquery jquery-ui
PythonEnthusiast
source share