Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
27402 tejbeer 1
$(function() {
2
 
3
	$(".map-info").live('click', function() {
4
 
5
		loadMapInfo("main-content");
6
	});
7
 
8
	$(".auth-tracking-detail").live('click', function() {
9
 
10
 
11
		var emails = $('#authUser').val()
12
		var date = startDate
13
		console.log(emails)
14
		console.log(date);
15
		var url = "/map?emails=" + emails + "&date="
16
			+ startDate;
17
		doAjaxRequestHandler(context + url, "GET", function(response) {
18
			{ }
19
			console.log(response)
20
 
21
			$('.auth-user-map-info').html(response);
22
 
23
		});
24
 
25
 
26
	});
27
 
28
	$("#authUser").live('change', function() {
29
		console.log("hello");
30
		var values = $("#authUser").val();
31
		console.log(values);
32
	});
33
 
34
});
35
 
36
function loadMapInfo(domId) {
37
	doGetAjaxRequestHandler(context + "/authUserMapInfo", function(response) {
38
		$('#' + domId).html(response);
39
	});
40
}