-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequisition.php
More file actions
35 lines (26 loc) · 1.03 KB
/
requisition.php
File metadata and controls
35 lines (26 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
$Checksheetno = $_GET['ch'];
print("<html>\n");
print(" <head> \n");
print("<script src=\"js/jquery-1.11.0.min.js\"> </script> <!--jquery--> \n");
print("</script> \n");
print(" <script type=\"text/javascript\"> \n");
print("$(document).ready(function() { \n");
print(" $.ajax({ //create an ajax request to load_page.php \n");
print(" url: \"inc/getrequisition.php\", \n");
print(" data: \"ch=".$Checksheetno."\", \n");
print(" dataType: \"html\", //expect html to be returned \n");
print(" success: function(response){ \n");
print(" $(\"#responsecontainer\").html(response); \n");
print(" //alert(response); \n");
print(" } \n");
print(" }); \n");
print(" }); \n");
print(" </script> \n");
print(" </head> \n");
print(" <body> \n");
print(" <div id=\"responsecontainer\" align=\"left\"> \n");
print(" </div> \n");
print(" </body> \n");
print(" </html> \n");
?>