Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
749 chandransh 1
<head>
2
	<title>Saholic Logistics Support</title>
3
	<script language="javascript" src="js/jquery-1.4.2.js" type="text/javascript"></script>
4
</head>
5
<body>
6
	<div id="login" align="center">
7
	<p>
8
		Welcome to Saholic Logistics Support Center.<br/>
9
		Please select the location you want the details for.
10
	</p>
11
	<label>Warehouse:</label>
12
	<select name="warehouseId" id="warehouseId">
13
		<option value="1">New Delhi</option>
14
	</select>
15
	<br/>
16
	<a href="#">Download Report</a>
17
	</div>
18
	<script>
19
		$('a').click(function(e){
20
			e.preventDefault();
21
			window.location.href = "courier-details/" + $("#warehouseId option:selected").val();
22
		});
23
 
24
		function getCourierDetails(){
25
			alert("Hi there");
26
			jQuery.ajax({
27
              type: "GET",
28
              url: "courier-details/" + $("#warehouseId option:selected").val(),
29
			  success: function(msg){
30
			  		alert("Returned successfully");
31
			  		return false;
32
			  }
33
         	});
34
 
35
			return false;
36
		}
37
	</script>
38
</body>