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
highrockm..
Validation error using CSS Scope
in
Using jQuery UI
•
12 years ago
I am using CSS scope for some tabs. To get the tabs to render properly I used this code:
$('#tabs').tabs();
//now theme just the widget so it does not effect other stuff.
$('#tabs').wrap('<div class="tab-panels"></div>');
The issue I am having is that the HTML validator is saying it's an improper place to have a div tag. Is there any other way of doing this? I wrote the code above based on a post I found which described the problem I needed to solve:
http://forum.jquery.com/topic/using-datepicker-with-different-ui-theme-than-the-rest-of-the-site
Thanks.
1
Replies(3)
Kevin B
Re: Validation error using CSS Scope
12 years ago
place the javascript in an external javascript file. html validators aren't very good at validating javascript.
-- Kevin
Leave a comment on Kevin B's reply
highrockm..
Re: Validation error using CSS Scope
12 years ago
That does not work as I think this code needs to be in a script tag in the HTML page to initialize the function.
Leave a comment on highrockmedia's reply
highrockm..
Re: Validation error using CSS Scope
12 years ago
I just realized, if I add /* <![CDATA[ */ right after the <script> tag, that gets excluded from validation.(and add /* ]]> */ before ending script tag
Leave a comment on highrockmedia'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 highrockmedia's question
Top
Reply
{"z3123152":[14737000001893814],"z5265529":[14737000001896323,14737000001896368,14737000001893906]}
Statistics
3
Replies
3302
Views
0
Followers
Tags
Cancel
scope
html
css
validation
Actions
Permalink