Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTML form select with option
#1
Don't know if this is a bug or just an oversight, but:

HtmlDoc d.InitFromWeb("http://www.xxxx.com")
ARRAY(POSTFIELD) a
d.GetForm(0 str'action str'data a)

This does not return any combo boxes that are in a form on websites.

Thanks,
jimmy Vig
#2
Thank you.
The function gets only checked radio element. Because you will post only it.

Member function HtmlDoc.GetForm
Code:
Copy      Help
;REMARKS
;data and a receive names and values that would be sent when the form submitted.
;;;For example, unchecked radio buttons are skipped, etc.
;;;Values of image elements will be empty.


Forum Jump:


Users browsing this thread: 2 Guest(s)