Response title
This is preview!
<ul class="bxslider">
. Note that the call must be made inside of a $(document).ready() call
, or the plugin will not work!$(document).ready(function(){
$('.bxslider').bxSlider();
});
main.js
file
: (html ext.!) var myHeading = document.querySelector('h1');
myHeading.innerHTML = 'Hello world!';
Problem: I made a folder/html: name main.js, and pasted this
between <body></body>. No result. Nothing happens also on adding <> tags beginning/end.
I use 'Kompozer' as a HTML editor, should not be of a problem.
What am I doing wrong?
My editor has changed the text in the following way:
<html>("bxslider")
© 2013 jQuery Foundation
Sponsored by and others.