It does look a little complicated.... This is how it looks:

<form action="InventoryStatus.asp" method="post" name="select" onsubmit="return 
select_validate();" style="margin:0">
<div style="margin-top:10px">
<table border="1" bordercolor="#d9d9d9" bordercolordark="#ffffff" 
bordercolorlight="#d9d9d9" cellpadding="3" cellspacing="0" width="100%">
<td style="font-weight:bold;color:black;background-color:#CCCCCC;text-align:right" 
<td style="color:black;background-color:#FFFFF0;text-align:left" 
colspan="2"><nobr><select name="cboSupplier"><option value="4541-134289">454A</option>
<option value="4542-134289" selected>454B</option></select> <img id="cboSupplier_icon" 
name="cboSupplier_icon" src="../images/required.gif" alt="*"></nobr></td>
<td style="font-weight:bold;color:black;background-color:#CCCCCC;text-align:right" 
width="20%"><nobr>Quantity Status&nbsp;</nobr></td>
<td style="color:black;background-color:#FFFFF0;text-align:left" colspan="2">
<table border="0" cellpadding="0" cellspacing="0">
<table border="0">
<td width="1"><input id="choice_IDAMCB3B" name="status" type="radio" value="over"></td>
<td style="color:black;background-color:#FFFFF0;text-align:left"><span 
onclick="choice_IDAMCB3B.checked=true; ">Over</span></td>
<td width="1"><input id="choice_IDARCB3B" name="status" type="radio" 
<td style="color:black;background-color:#FFFFF0;text-align:left"><span 
onclick="choice_IDARCB3B.checked=true; ">Under</span></td>
<td width="1"><input id="choice_IDAWCB3B" name="status" type="radio" value="both"></td>
<td style="color:black;background-color:#FFFFF0;text-align:left"><span 
onclick="choice_IDAWCB3B.checked=true; ">Both</span></td>
<td width="1"><input id="choice_IDA1CB3B" name="status" type="radio" value="all" 
<td style="color:black;background-color:#FFFFF0;text-align:left"><span 
onclick="choice_IDA1CB3B.checked=true; ">All</span></td>
<td> <img id="status_icon" name="status_icon" src="../images/blank.gif" alt=""></td>
<td style="font-weight:bold;color:black;background-color:#CCCCCC">&nbsp;</td>
<td colspan="2" 
type="submit" name="action-select" value="Query" onclick="doValidate = true;"> </td>

I don't see any specific URL that would get the relevant data after I hit submit. 
Maybe I am missing something...


----- Original Message ----- 
From: "Hrvoje Niksic" <[EMAIL PROTECTED]>
To: "Suhas Tembe" <[EMAIL PROTECTED]>
Sent: Tuesday, October 07, 2003 5:24 PM
Subject: Re: Web page "source" using wget?

> "Suhas Tembe" <[EMAIL PROTECTED]> writes:
> > this page contains a "drop-down" list of our customer's locations.
> > At present, I choose one location from the "drop-down" list & click
> > submit to get the data, which is displayed in a report format. I
> > "right-click" & then choose "view source" & save "source" to a file.
> > I then choose the next location from the "drop-down" list, click
> > submit again. I again do a "view source" & save the source to
> > another file and so on.... for all their locations.
> It's possible to automate this, but it requires some knowledge of
> HTML.  Basically, you need to look at the <form>...</form> part of the
> page and find the <select> tag that defines the drop-down.  Assuming
> that the form looks like this:
> <form action=""; method=GET>
>   <select name=location>
>     <option value=ca>California
>     <option value=ma>Massachussetts
>     ...
>   </select>
> </form>
> you'd automate getting the locations by doing something like:
> for loc in ca ma ...
> do
>   wget "$loc";
> done
> Wget will save the respective sources in files named
> "customer?location=ca", "customer?location=ma", etc.
> But this was only an example.  The actual process depends on what's in
> the form, and it might be considerably more complex than this.

Reply via email to