Re: Javascript/WebCatalog form population
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 37514
interpreted = N
texte = http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects.aspthis 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 thatfire 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 haveseen it some where in there, you must be able to capture it as a distinctevent 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/
Associated Messages, from the most recent to the oldest:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects.aspthis 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 thatfire 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 haveseen it some where in there, you must be able to capture it as a distinctevent 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/
Andrew Simpson
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:
update problem (1998)
WebCatalog for WebStar V (2001)
More on the email templates (1997)
Converting Esiting Html Table Forms to WebCat (1997)
totals (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Stop the madness. (1997)
writing db to disk (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
Bug alert! (1997)
Misc Stuff That Might Help (1997)
formulas.db ?? (1998)
Cart Question (1998)
Answer: WebDelivery downloads alias, not original ? (1997)
Some Questions (1997)
emailer (1997)
ThisURL and getting domain/server address (2005)
Multiple adding (1997)
WCf2 and nested tags (1997)
wierd crashes for multi-sendmails on NT (1997)