Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Display table cell upon dropdown menu onchange event


Message #1 by jacobspd@g... on Wed, 2 Oct 2002 16:30:30
Hi All,

I am trying my best to resolve a problem, but I am struggling.  I shall 
explain the page...

I am displaying the status of invoices... the status can either 
be "Paid", "In Progress" or "Cancelled".  This changes can be manipulated 
and updated within my Access database vis ASP.  What I want to do however 
is... when the user selects "Cancelled" a hidden cell of a table opens to 
display another textbox which will allow the user to input a reason for 
the cancellation...

I understand that this could be done using array.. such as

array.Paid ('<td>&nbsp</td>')
array.Progress ('<td>&nbsp;</td>')
array.Cancel ('<td><input type="textbox" name="cancel"></td>')

I am unclear on the code... but this array would then be displayed in the 
appropriate place using <div> tags and an "ID" od some sort...

any help on this matter would be greatly appreciated...

With many thanks,

Paul Jacobs

  Return to Index