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">')
Line 26, Column 27: document type does not allow element "div" here
.before('<div id="buttons">')
Code:
<script type="text/javascript"> $(document).ready(function() { $('#slider') .before('<div id="buttons">') .cycle({ fx: 'fade', pager: '#buttons' }); }); </script>
Comment