How do I set up the "zero configuration" example?
How do I set up the "zero configuration" example?
DanSchwartz
Posts: 19Questions: 0Answers: 0
Hello,
I have downloaded jQuery and DataTables, managed to get a basic jQuery example to run,
but can't figure out the basic DataTables example. My jQuery example is
<!DOCTYPE html>
Demo
jQuery
$(document).ready(function(){
$("a").click(function(event){
alert("Thanks for visiting!");
event.preventDefault();
});
});
The DataTables example I am looking at is the "zero configuration" given as
$(document).ready(function() {
$('#example').dataTable();
} );
Could someone please tell me how to turn this into a complete working example like the
above, including instructions as to which files need to be placed in which directories?
Please provide all details. I know a bit of JavaScript but am not an expert.
Thanks,
Dan Schwartz
I have downloaded jQuery and DataTables, managed to get a basic jQuery example to run,
but can't figure out the basic DataTables example. My jQuery example is
<!DOCTYPE html>
Demo
jQuery
$(document).ready(function(){
$("a").click(function(event){
alert("Thanks for visiting!");
event.preventDefault();
});
});
The DataTables example I am looking at is the "zero configuration" given as
$(document).ready(function() {
$('#example').dataTable();
} );
Could someone please tell me how to turn this into a complete working example like the
above, including instructions as to which files need to be placed in which directories?
Please provide all details. I know a bit of JavaScript but am not an expert.
Thanks,
Dan Schwartz
This discussion has been closed.
Replies
Allan
Thanks. That reference was very helpful. I have it working now. M next step is to try out the Editor plug-in.
Dan
Allan