View Full Version : Invalid W3C jQuery slider code

08-22-2011, 12:17 PM
I am using a jQuery slider on a website but the code comes up with invalid, is there any wat to get around this without using a div tag? Thanks for any help on this:

Line 26, Column 27: document type does not allow element "div" here
.before('<div id="buttons">')

<script type="text/javascript">
$(document).ready(function() {
.before('<div id="buttons">')
fx: 'fade',
pager: '#buttons'

08-22-2011, 12:19 PM
This is only W3C telling you that it doesn't know anything about HTML inside Javascript strings. You can just ignore this one!

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum