Jump to content
xisto Community
Cruzo

Automatic Options

Recommended Posts

Hello everybody!!!I'm new to this list and to JavaScript too. As a freshman I'd like toknow if it's possible to solve the following problem:I have to access a page where there are some combo boxes with manyoptions and after choosing the right options I have to click on abutton to see the desired results (the combos' content is like afilter to a query).The result is a table of values and this table is generated in HTML (Isaw the page's source code).The page I want to access is a php page and I don't know if it usessome database for storage of values.My doubt is if with JavaScript I can do a script to automaticallyconnect to the site, choose all possible options inside all the comboboxes and execute the button to go to the next page where the resultsare shown. After that I'd like to store locally the table thatcontains all the values I need to do my job.I'm asking a solution to this problem because there are about almost athousand of options to choose and it's painful to do it by hand.

Share this post


Link to post
Share on other sites

Javascript would be your worst option for this task. Javascript can choose the options, and submit the form thus taking you to the next page, but you will have to save the table manually. I suggest Python for this mission. It is immensly simple to learn and very effective. You will be able to download the table, programmatically extract its contents, and put them wherever you like!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.