jQuery UI Widgets › Forums › Layouts › DockPanel › Dock attribute unknown
Tagged: dock panel
This topic contains 5 replies, has 4 voices, and was last updated by Peter Stoev 5 years, 6 months ago.
I get warning in ZendStudio: Undefined attribute name (dock) in all three lines:
I think that this attribute is not valid for html5. Do I have another choice?
W3 validator also report error for dock attribute.
No, there’s no other choice. The attribute is custom.
Makla, I think a way around this would be to set the attributes in jQuery before initializing the dock panel. So, change the HTML to something like this:
Then, use jQuery code like this:
In HTML5 there is a new data- attribute, is it possible to make the dockpanel support both the dock, and a new data-dock attribute?
This way, when coding html5, you will actually create valid html5.
Thanks for ideas.
Valid html5 would be a nice feature.
Thanks. We are aware how to define attributes in HTML5.
You must be logged in to reply to this topic.