1$(document).ready(function() { 2 3 $.ajax({ 4 5 //AJAX type is "Post". 6 7 type: "POST", 8 9 //Data will be sent to "ajax.php". 10 11 url: "ajax-video-change.php", 12 13 //If result found, this funtion will be called. 14 15 success: function(html) { 16 17 //Assigning result to "display" div in "search.php" file. 18 19 $("#display_video").html(html).show(); 20 21 } 22 23 }); 24 25 //On pressing a key on "Search box" in "search.php" file. This function will be called. 26 27 $("#next_video_btn").click(function() { 28 29 //AJAX is called. 30 31 $.ajax({ 32 33 //AJAX type is "Post". 34 35 type: "POST", 36 37 //Data will be sent to "ajax.php". 38 39 url: "ajax-video-change.php", 40 41 //If result found, this funtion will be called. 42 43 success: function(html) { 44 45 //Assigning result to "display" div in "search.php" file. 46 47 $("#display_video").html(html).show(); 48 49 } 50 51 }); 52 53 54 }); 55 56 });
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.