[Newbie]TypeError: $(...).dataTable is not a function_I can't even use the example code on this site

[Newbie]TypeError: $(...).dataTable is not a function_I can't even use the example code on this site

phasuksmitphasuksmit Posts: 5Questions: 2Answers: 0

What I'm I doing wrong ?

TypeError: $(...).dataTable is not a function

$('#tableID').dataTable();

test.php (line 28)


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">

<title>MainLogin</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="css/bootstrap-theme.min.css" rel="stylesheet">

<script src="code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="cdn.datatables.net/1.10.2/js/jquery.dataTables.min.js"></script>
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>

</head>
<body>

$('#tableID').dataTable();

</body>
</html>

Answers

This discussion has been closed.