Posted: Tue Nov 08, 2005 1:12 am
Just play around with that snippet. it'll come around 
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
Service = document.getElementById('serviceDiv');
Product = document.getElementById('productDiv');
if (ProdServList[val] == 'Service')
{
Service.style.display = "";
Product.style.display = "none";
}
else
{
Service.style.display = "none";
Product.style.display = "";
}