0
var cBrand = document.getElementById('cBrand');
	var cType = document.getElementById('cType');
	var cStyle = document.getElementById('cStyle');
	var cFrame = document.getElementById('cFrame');
	var cGroupSet = document.getElementById('cGroupSet');
	
	if (empty(cBrand) && empty(cType) && empty(cStyle) && empty(cFrame) && empty(cGroupSet))
	{
		alert("Please Choose atleast 2 Criteria");
		return false;
	}else{
           return true;
           }

The above code is not working --------- Please advise. thx

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by lordx78
0

Where is the definition of the empty() function? It would be better if you posted a working copy of your code which we can directly use for testing your example rather than trying to figure out what seems to be wrong in the small snippet presented to us.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.