Automatic update of combo2 triggered by on change event of combo1 on webpage Anyone got a simple exa
Automatic update of combo2 triggered by on change event of combo1 on webpage Anyone got a simple exa
am 29.10.2004 11:26:16 von Richard
Hi!
I need to do something that seemed simple in ASP : an automatic update of
combo2 triggered by on change event of combo1 on same form on a web page.
NOT that easy I begin to think.
Anyone got a simple example?
Thanks
Richard
Re: Automatic update of combo2 triggered by on change event of combo1 on web page Anyone got a simpl
am 29.10.2004 11:36:16 von maarten
www.tenerife-dolphins-whales.com/booking.asp
Check hotel: pick a region and see what happens in second combo.
Is this what you want? I search and i had 2 options, reload the asp page or
write JScript when loading the page. Let me know if you wish the source op
the page above.
Maarten
Re: Automatic update of combo2 triggered by on change event of combo1 onweb page Anyone got a simple
am 29.10.2004 12:52:30 von richardholland
Thanks for the reply. Looked at the site, kewl. But I was looking for a
wayto fill the 2nd combo from a sql string, rather than hard coding the
contents.
Thanks anyway
Buenas dias!
Richard
Re: Automatic update of combo2 triggered by on change event of combo1 on web page Anyone got a simpl
am 29.10.2004 14:02:45 von maarten
ASP is server side and client side. So if you have to fill the second
listbox in classic ASP, you need to reload te page. I believe in ASP.NET
there are other possiblities. I'm not sur.
Re: Automatic update of combo2 triggered by on change event of combo1 on web page Anyone got a simpl
am 29.10.2004 14:04:21 von maarten
PS: hard coding. The code in the website is based on a query and then
written the JS by the asp page when loading.