Ignore that...just checked and they do ;-) -----Original Message----- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 27 October 2003 11:03 To: '[EMAIL PROTECTED]' Subject: RE: [ cf-dev ] Select Menu > Back Button
Thanks guys...one thing...I am sure I cant use onLoad or inline JS as when the browser back button is used they are not parsed...are they? I am having to trigger these via an Event (onClick)..the downside is that the menu appears and dissapears for a split second. -----Original Message----- From: Stephen Moretti [mailto:[EMAIL PROTECTED] Sent: 27 October 2003 10:59 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Select Menu > Back Button Put a function at the very bottom of your HTML page (still inside <body> though) that always runs. Use this function to check the form setting and disable the appropriate drop down. I use something similar to prepopulate a second drop down based on a value in the first select when you go into edit a record with 2 related fields. Stephen Robertson-Ravo, Neil (RX) wrote: > OK...I need clarifcation on this as I am not sure if its possible..... > > I have two Select menus, Continent & Country....When I select Coutinent : > the country menu gets disabled as I do not want the user to select > anything from their.... The same is true for the Country....if they > select Country, then they cannot select Continent....(this obviously > all works off > onChange.) > > This all works great, and the search works, BUT when the user goes > back via the Back Browser button then both the select menus are now > selectable, even though the user selection is still present... > > While I realise that this is standard HTML behaviour, is it possible > to prevent the user selecting the previously disabled menu? I was > thinking of putting an onClick on their as well to check if the other > Select menu has an index selected etc....? > > Is this possible? Or easy to prevent? > > N > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
