Website: http://doubletree3.hilton.com/en/abo...ons/index.html
I am trying to Select a Location in the drop down menu.. when I do it on the webpage, the map updates. However, when I use the code, I am able to update the drop down value but the map does not update. I am using the nested loop (objElementForm) to update the form once the drop-down value is updated ... but i get a prompt on the webpage saying...
"Internal forms can not be handled by generated pages".
Eventually, I would like to get a listing of all the hotels in a certain region. Any suggestions how I could proceed? Thanks!!
Set objElement = .document.getElementsByTagName("select")
For Each input_element In objElement
If input_element.ID = "regionSelect" Then
input_element.Value = 414
Set objElementForm = .document.getElementsByTagName("form")
For Each input_elementForm In objElementForm
If input_elementForm.ID = "locations-regions-form" Then
input_elementForm.submit
End If
Next input_elementForm
Exit For
End If
Next input_element
Bookmarks