Re: Javascript/WebCatalog form population
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37515
interpreted = N
texte = thank you....On Tue, 31 Jul 2001, Andrew Simpson wrote:> http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref> erence/objects.asp> > this is my favourite place for DHTML reference.> > not really code snypits but all the info you could ever want.> > have a look at the location object and possibly some of the events that> fire on or around the window losing focus. - (onunload)???> > I can't find where the back button comes into to play but i'm sure i have> seen it some where in there, you must be able to capture it as a distinct> event and redirect, it happens to me all the time on the net.> > on 31/7/01 10:06 AM, Kalin Mintchev at kalin@el.net wrote:> > > On Tue, 31 Jul 2001, Andrew Simpson wrote:> > > >> Do you want to set the back button value so that next time the user hits it> >> they go somewhere other than where they expect???> >> > >> Upon reading the DHTML reference on msdn i think the history object is read> >> only and actually doesn't expose the urls within its collection, only allows> >> you to reference them by index as you have below.> >> > >> Instead of setting the value you could detect the event of the back button> >> being clicked and navigate somewhere else before the user gets away> > > > this option would be nice. how can i do that? where should i look?> > > > thanks> > > > > >> > >> > >> on 31/7/01 9:46 AM, Kalin Mintchev at kalin@el.net wrote:> >> > >>> > >>> > >>> is there something like:> >>> > >>> window.document.history[3];> >>> > >>> or something like it?!??> >>> > >>> > >>> > >>> > >>> On Tue, 31 Jul 2001, Andrew Simpson wrote:> >>> > >>>> can't you navigate through the array of urls' held in the history> >>>> object?> >>>> > >>>> If so would it be possible to set the value of the latest element held in> >>>> the history collection???> >>>> > >>>> > >>>> on 31/7/01 9:13 AM, Kalin Mintchev at kalin@el.net wrote:> >>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> now it's my turn> >>>>> > >>>>> does anybody know a javascript that tells the browser back button where to> >>>>> go i did look at javascripts.com but couldn't find it...> >>>>> > >>>>> > >>>>> any help appreciated....> >>>>> > >>>>> > >>>>> > >>>>> thanks> >>>>> > >>>>> > >>>>> > >>>>> > >>>>> On Mon, 30 Jul 2001, Alisha Outridge wrote:> >>>>> > >>>>>> javascriptsource.com has the select script you need so that when they> >>>>>> select> >>>>>> their name it can automatically reload and then add a search context> >>>>>> around> >>>>>> a form with the information found in the database under that name> >>>>>> inserted> >>>>>> appropriately. Beware of multiple though!!! :o)> >>>>>> > >>>>>> > >>>>>> Alisha Outridge> >>>>>> Spec Simple, Inc> >>>>>> Where the World of Design Connects...> >>>>>> > >>>>>>> From: Bob McPeak
> >>>>>>> Reply-To: (WebCatalog Talk)> >>>>>>> Date: Mon, 30 Jul 2001 11:25:10> >>>>>>> To: (WebCatalog Talk)> >>>>>>> Subject: Javascript/WebCatalog form population> >>>>>>> > >>>>>>> I'm looking for some code that will allow a user to select an item from> >>>>>>> a> >>>>>>> drop-down list (i.e. a name from a list of names) and then populate> >>>>>>> other> >>>>>>> fields in the same form with the corresponding values for that name> >>>>>>> returned> >>>>>>> from a WC database.> >>>>>>> > >>>>>>> In other words, the user selects John Smith, and then John Smith's> >>>>>>> address> >>>>>>> data is immediately populated into the form.> >>>>>>> > >>>>>>> I've browsed the archive and can't quite find what I'm looking for.> >>>>>>> > >>>>>>> Anybody have some sample code to help me get started?> >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> -------------------------------------------------------------> >>>>>>> This message is sent to you because you are subscribed to> >>>>>>> the mailing list .> >>>>>>> To unsubscribe, E-mail to: > >>>>>>> To switch to the DIGEST mode, E-mail to> >>>>>>> > >>>>>>> Web Archive of this list is at: http://search.smithmicro.com/> >>>>>> > >>>>>> > >>>>>> -------------------------------------------------------------> >>>>>> This message is sent to you because you are subscribed to> >>>>>> the mailing list .> >>>>>> To unsubscribe, E-mail to: > >>>>>> To switch to the DIGEST mode, E-mail to> >>>>>> > >>>>>> Web Archive of this list is at: http://search.smithmicro.com/> >>>>>> > >>>>> > >>>>> > >>>>> -------------------------------------------------------------> >>>>> This message is sent to you because you are subscribed to> >>>>> the mailing list .> >>>>> To unsubscribe, E-mail to: > >>>>> To switch to the DIGEST mode, E-mail to> >>>>> > >>>>> Web Archive of this list is at: http://search.smithmicro.com/> >>>> > >>>> > >>>> -------------------------------------------------------------> >>>> This message is sent to you because you are subscribed to> >>>> the mailing list .> >>>> To unsubscribe, E-mail to: > >>>> To switch to the DIGEST mode, E-mail to> >>>> > >>>> Web Archive of this list is at: http://search.smithmicro.com/> >>>> > >>> > >>> > >>> -------------------------------------------------------------> >>> This message is sent to you because you are subscribed to> >>> the mailing list .> >>> To unsubscribe, E-mail to: > >>> To switch to the DIGEST mode, E-mail to> >>> > >>> Web Archive of this list is at: http://search.smithmicro.com/> >> > >> > >> -------------------------------------------------------------> >> This message is sent to you because you are subscribed to> >> the mailing list .> >> To unsubscribe, E-mail to: > >> To switch to the DIGEST mode, E-mail to> >> > >> Web Archive of this list is at: http://search.smithmicro.com/> >> > > > > > > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to> > > > Web Archive of this list is at: http://search.smithmicro.com/> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
thank you....On Tue, 31 Jul 2001, Andrew Simpson wrote:> http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref> erence/objects.asp> > this is my favourite place for DHTML reference.> > not really code snypits but all the info you could ever want.> > have a look at the location object and possibly some of the events that> fire on or around the window losing focus. - (onunload)???> > I can't find where the back button comes into to play but i'm sure i have> seen it some where in there, you must be able to capture it as a distinct> event and redirect, it happens to me all the time on the net.> > on 31/7/01 10:06 AM, Kalin Mintchev at kalin@el.net wrote:> > > On Tue, 31 Jul 2001, Andrew Simpson wrote:> > > >> Do you want to set the back button value so that next time the user hits it> >> they go somewhere other than where they expect???> >> > >> Upon reading the DHTML reference on msdn i think the history object is read> >> only and actually doesn't expose the urls within its collection, only allows> >> you to reference them by index as you have below.> >> > >> Instead of setting the value you could detect the event of the back button> >> being clicked and navigate somewhere else before the user gets away> > > > this option would be nice. how can i do that? where should i look?> > > > thanks> > > > > >> > >> > >> on 31/7/01 9:46 AM, Kalin Mintchev at kalin@el.net wrote:> >> > >>> > >>> > >>> is there something like:> >>> > >>> window.document.history[3];> >>> > >>> or something like it?!??> >>> > >>> > >>> > >>> > >>> On Tue, 31 Jul 2001, Andrew Simpson wrote:> >>> > >>>> can't you navigate through the array of urls' held in the history> >>>> object?> >>>> > >>>> If so would it be possible to set the value of the latest element held in> >>>> the history collection???> >>>> > >>>> > >>>> on 31/7/01 9:13 AM, Kalin Mintchev at kalin@el.net wrote:> >>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> now it's my turn> >>>>> > >>>>> does anybody know a javascript that tells the browser back button where to> >>>>> go i did look at javascripts.com but couldn't find it...> >>>>> > >>>>> > >>>>> any help appreciated....> >>>>> > >>>>> > >>>>> > >>>>> thanks> >>>>> > >>>>> > >>>>> > >>>>> > >>>>> On Mon, 30 Jul 2001, Alisha Outridge wrote:> >>>>> > >>>>>> javascriptsource.com has the select script you need so that when they> >>>>>> select> >>>>>> their name it can automatically reload and then add a search context> >>>>>> around> >>>>>> a form with the information found in the database under that name> >>>>>> inserted> >>>>>> appropriately. Beware of multiple though!!! :o)> >>>>>> > >>>>>> > >>>>>> Alisha Outridge> >>>>>> Spec Simple, Inc> >>>>>> Where the World of Design Connects...> >>>>>> > >>>>>>> From: Bob McPeak > >>>>>>> Reply-To: (WebCatalog Talk)> >>>>>>> Date: Mon, 30 Jul 2001 11:25:10> >>>>>>> To: (WebCatalog Talk)> >>>>>>> Subject: Javascript/WebCatalog form population> >>>>>>> > >>>>>>> I'm looking for some code that will allow a user to select an item from> >>>>>>> a> >>>>>>> drop-down list (i.e. a name from a list of names) and then populate> >>>>>>> other> >>>>>>> fields in the same form with the corresponding values for that name> >>>>>>> returned> >>>>>>> from a WC database.> >>>>>>> > >>>>>>> In other words, the user selects John Smith, and then John Smith's> >>>>>>> address> >>>>>>> data is immediately populated into the form.> >>>>>>> > >>>>>>> I've browsed the archive and can't quite find what I'm looking for.> >>>>>>> > >>>>>>> Anybody have some sample code to help me get started?> >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> -------------------------------------------------------------> >>>>>>> This message is sent to you because you are subscribed to> >>>>>>> the mailing list .> >>>>>>> To unsubscribe, E-mail to: > >>>>>>> To switch to the DIGEST mode, E-mail to> >>>>>>> > >>>>>>> Web Archive of this list is at: http://search.smithmicro.com/> >>>>>> > >>>>>> > >>>>>> -------------------------------------------------------------> >>>>>> This message is sent to you because you are subscribed to> >>>>>> the mailing list .> >>>>>> To unsubscribe, E-mail to: > >>>>>> To switch to the DIGEST mode, E-mail to> >>>>>> > >>>>>> Web Archive of this list is at: http://search.smithmicro.com/> >>>>>> > >>>>> > >>>>> > >>>>> -------------------------------------------------------------> >>>>> This message is sent to you because you are subscribed to> >>>>> the mailing list .> >>>>> To unsubscribe, E-mail to: > >>>>> To switch to the DIGEST mode, E-mail to> >>>>> > >>>>> Web Archive of this list is at: http://search.smithmicro.com/> >>>> > >>>> > >>>> -------------------------------------------------------------> >>>> This message is sent to you because you are subscribed to> >>>> the mailing list .> >>>> To unsubscribe, E-mail to: > >>>> To switch to the DIGEST mode, E-mail to> >>>> > >>>> Web Archive of this list is at: http://search.smithmicro.com/> >>>> > >>> > >>> > >>> -------------------------------------------------------------> >>> This message is sent to you because you are subscribed to> >>> the mailing list .> >>> To unsubscribe, E-mail to: > >>> To switch to the DIGEST mode, E-mail to> >>> > >>> Web Archive of this list is at: http://search.smithmicro.com/> >> > >> > >> -------------------------------------------------------------> >> This message is sent to you because you are subscribed to> >> the mailing list .> >> To unsubscribe, E-mail to: > >> To switch to the DIGEST mode, E-mail to> >> > >> Web Archive of this list is at: http://search.smithmicro.com/> >> > > > > > > -------------------------------------------------------------> > This message is sent to you because you are subscribed to> > the mailing list .> > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to> > > > Web Archive of this list is at: http://search.smithmicro.com/> > > -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/> -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Kalin Mintchev
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Nested tags count question (1997)
bypassing typo's (1998)
WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997)
searchable list archive (1997)
RE: Explorer oddities (1997)
template includes encrypted template (1999)
Emailer (2000)
WC2b15 - [HTMLx]...[/HTMLx] problems (1997)
Re:HTTP header line is too long? (1997)
WebCat2b12 - nesting [tags] (1997)
Plugin or CGI or both (1997)
no [search] with NT (1997)
Weird problems with [SHOWIF]s (1997)
SiteEdit Pro Update Announcement (1997)
Emailer (WebCat2) (1997)
Help! WebCat2 bug (1997)
two unique banners on one page (1997)
access denied problem (1997)
New Webcatalog for Mac (1997)
Help with Repost Data msg from form (1997)