Subversion Repositories SmartDukaan

Rev

Rev 1771 | Rev 1778 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1771 Rev 1773
Line 1... Line 1...
1
// Ebizon Move script js into the file
1
// Ebizon Move script js into the file
2
 
2
 
3
$(document).ready(function(){
3
$(document).ready(function(){
-
 
4
	
-
 
5
	//For Registration Page
-
 
6
	$('#frmRegister #email').change(function(){
-
 
7
		$('#communicationEmail').val($(this).val());
-
 
8
	});
-
 
9
	
4
	$('#addAdrBtn').click(function(){
10
	$('#addAdrBtn').click(function(){
5
		$('#newShipAdr').show();
11
		$('#newShipAdr').show();
6
		scrollWin();
12
		scrollWin();
7
	});
13
	});
8
	var lastQueryType = -1;
14
	var lastQueryType = -1;
Line 53... Line 59...
53
    activeTab("catTab1");
59
    activeTab("catTab1");
54
    hideShowTabContent("multifacetedSearch", "show");
60
    hideShowTabContent("multifacetedSearch", "show");
55
    hideShowTabContent("browseContent", "show");
61
    hideShowTabContent("browseContent", "show");
56
    hideShowTabContent("otherTabContent", "hide");
62
    hideShowTabContent("otherTabContent", "hide");
57
  });
63
  });
58
  if(document.getElementById("frmRegister")){
-
 
59
	$('#frmLogin').validate({
64
	$('#frmLogin').validate({
60
		loginEmail: {
65
		loginEmail: {
61
			required: true,
66
			required: true,
62
			email: true
67
			email: true
63
		},
68
		},
Line 65... Line 70...
65
			required: true,
70
			required: true,
66
			minlength: 6,
71
			minlength: 6,
67
			maxlength: 20
72
			maxlength: 20
68
		}
73
		}
69
	});
74
	});
-
 
75
  if(document.getElementById("frmRegister")){
70
	
76
	
71
    $("#frmRegister").validate({
77
    $("#frmRegister").validate({
72
      rules: {
78
      rules: {
73
        nameOfUser: "required",
79
        nameOfUser: "required",
74
        email: {
80
        email: {