Displaying 1 result from an estimated 1 matches for "racingmiddle_0".
2012 Jan 04
0
RCurl : Problem with submitting using postForm()
...submit buttons on the page and I'm not hitting the
right one. I have tried everything I can think of to submit the form
correctly but with no luck.
My current code is as follows.
library(RCurl)
library(XML)
page<-postForm("http://tatts.com/racing/outletsearch.aspx",
`main_0$racingmiddle_0$CityTextBox`="",
`main_0$racingmiddle_0$PostcodeTextbox`="4000",
`main_0$racingmiddle_0$StateDropDownList`="Queensland",
`main_0$racingmiddle_0$SearchButton`="List Outlets")
doc<-htmlParse(page,asText=TRUE)
readHTMLTable(doc)
Any help would be...