Loading...
Copy code
Close
Permalink
Close
Please tell us why you want to mark the subject as inappropriate.
(Maximum 200 characters)
Report Inappropriate
Cancel
Private Message
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Cancel
From :
guest
To :
Subject :
Content :
Type the characters you see in the picture below.
Send
Update
Cancel
Feedback
Email ID
Subject :
Comments :
Send
Cancel
Private Message
Type the characters you see in the picture below.
Type the characters you see in the picture below.
Attach files
Desktop
Google Docs
Each Attachment size should not exceed 1.0 MB.
Max no of attachments : 3
Loading User Profile...
guest
Response title
This is preview!
Attachments
Publish
Back to edit
Cancel
(
)
Sign In
New to this Portal? Click here to
Sign up
You can also use the below options to login
Login with Facebook
Login with Google
Login with Yahoo
jQuery
Plugins
UI
Meetups
Forum
Blog
About
Donate
All Forums
Recent Posts
Log In
Search
jQuery
Search
jQuery Forum
Move this topic
Forum :
Getting Started
Using jQuery
Using jQuery Plugins
Using jQuery UI
Developing jQuery Core
Developing jQuery Plugins
Developing jQuery UI
QUnit and Testing
About the jQuery Forum
jQuery Conferences
jQuery Mobile
Developing jQuery Mobile
Sub forum :
Move this topic
Cancel
Using jQuery UI
ixwacreat..
"d.widget is not a function" core/ui/tabs issue
in
Using jQuery UI
•
11 years ago
I'm confused why this (seemingly out-of-the-box) jquery widget isn't working.
This is in the HEAD of the doc (paraphrased here!):
[code]
...script type="text/javascript" charset="utf-8" src="jquery.js"...
...script type="text/javascript" charset="utf-8" src="jquery.core.js"...
...script type="text/javascript" charset="utf-8" src="jquery.ui.tabs.js"...
[/code]
But I'm getting a javascript error: "d.widget is not a function"
I'm calling the jquery function from an external .js doc that I call after the above calls:
[code]
$(document).ready(function() {
$("#tabs").tabs();
});
[/code]
I don't think I've made any dumb syntax errors here...any advice?
1
Replies(4)
kbwood.au
Re: "d.widget is not a function" core/ui/tabs issue
11 years ago
jQuery UI Tabs depends on both the jQuery UI Core and Widgets modules, on which you only seem to have loaded the former. Add:
...script type="text/javascript" charset="utf-8" src="
jquery.ui.widget.js
"...
Leave a comment on kbwood.au's reply
ixwacreat..
Re: "d.widget is not a function" core/ui/tabs issue
11 years ago
Hmm, I didn't realize I needed the widget module also. Thanks.
So to run jquery tabs I have to call jquery, jquery core, jquery widget, and jquery tabs? Seems excessive just to use tabs doesn't it?
Leave a comment on ixwacreative's reply
Kevin B
Re: "d.widget is not a function" core/ui/tabs issue
11 years ago
you could also include a custom jquery ui build that includes the jqueryui core widget and tabs in one.
-- Kevin
Leave a comment on Kevin B's reply
ixwacreat..
Re: "d.widget is not a function" core/ui/tabs issue
11 years ago
Yeah...and along that line I ended up ditching the whole pre-built/module thing and going with a quickie jquery tab solution:
http://www.sohtanaka.com/web-design/simple-tabs-w-css-jquery/
Much easier, customizable and lightweight!
Leave a comment on ixwacreative's reply
Change topic type
Topic Type :
Discussions
Questions
Ideas
Problems
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to ixwacreative's question
Top
Reply
{"z3123152":[14737000002401525],"z2953500":[14737000002401001],"z6208805":[14737000002391799,14737000002401475,14737000002401534]}
Statistics
4
Replies
9173
Views
0
Followers
Tags
Cancel
core
tabs
d.widget
ui
Actions
Permalink