Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function expertSuggestion() {
- var price = document.getElementById("price").selectedIndex;
- var dom = document.getElementById("legField").style;
- if((price == 0 || price == 1) && document.getElementById("downtown").checked){
- dom.visibility = "visible";
- }
- else
- dom.visibility = "hidden";
- document.getElementById("display").innerHTML = "It is very difficult to find a hotel room in this price range at Downtown ";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement