hi,
have a combo - when an option is selected and a search button is clicked it goes to a page, however if nothing is selected i want it to go to another url
this is the code for the button
thanks MG
have a combo - when an option is selected and a search button is clicked it goes to a page, however if nothing is selected i want it to go to another url
this is the code for the button
thanks MG
Code:
on(release)
{
makeselect = makecombo.selectedItem;
priceselect = pricecombo.selectedItem;
if (makeselect.data == "undefined") {
getURL("3coltemp.asp?pagesetupid=2&cmd=resetall", "_self");
} else {
getURL("3coltemp.asp?pagesetupid=2&x_make="+ makeselect.data +"&z_make=%3D%2C%27%2C%27&x_price="+priceselect.data, "_self");
}
}