P
Penny
Hi all,
I've built a simple search <Form> on a web page that is intended to allow
the user to search a record store database. There is a drop down box where
the user can choose either 'Artist' or 'Title', next is a text box where
they enter their 'Keyword' and next is the search button. For example the
user may choose 'Artist', type 'Bob Dylan', click the search button and be
presented with a page showing all the details of the Bob Dylan recordings
the record store have in stock.
Thing is, the 'Results' details for Artists and Recordings have different
fields so I use two different pages to display them. Therefore I need a way
for the page to check whether 'Artist' or 'Recording' is selected in the
drop down box and then open the appropriate page. My database search and
connection are fine I just need the javascript and call from the form.
Any ideas?
Penny
I've built a simple search <Form> on a web page that is intended to allow
the user to search a record store database. There is a drop down box where
the user can choose either 'Artist' or 'Title', next is a text box where
they enter their 'Keyword' and next is the search button. For example the
user may choose 'Artist', type 'Bob Dylan', click the search button and be
presented with a page showing all the details of the Bob Dylan recordings
the record store have in stock.
Thing is, the 'Results' details for Artists and Recordings have different
fields so I use two different pages to display them. Therefore I need a way
for the page to check whether 'Artist' or 'Recording' is selected in the
drop down box and then open the appropriate page. My database search and
connection are fine I just need the javascript and call from the form.
Any ideas?
Penny