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/ref erence/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 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Javascript/WebCatalog form population (Celeste Paul 2001)
  2. Re: Javascript/WebCatalog form population (Kalin Mintchev 2001)
  3. Re: Javascript/WebCatalog form population (Andrew Simpson 2001)
  4. Re: Javascript/WebCatalog form population (Kalin Mintchev 2001)
  5. Re: Javascript/WebCatalog form population (Andrew Simpson 2001)
  6. Re: Javascript/WebCatalog form population (Kalin Mintchev 2001)
  7. Re: Javascript/WebCatalog form population (Andrew Simpson 2001)
  8. Re: Javascript/WebCatalog form population (Kalin Mintchev 2001)
  9. Re: Javascript/WebCatalog form population (Kalin Mintchev 2001)
  10. Re: Javascript/WebCatalog form population (Alisha Outridge 2001)
  11. Re: Javascript/WebCatalog form population (Alisha Outridge 2001)
  12. Re: Javascript/WebCatalog form population (Donovan Brooke 2001)
  13. Re: Javascript/WebCatalog form population (Robert Kudrle 2001)
  14. Re: Javascript/WebCatalog form population (Celeste Paul 2001)
  15. Javascript/WebCatalog form population (Bob McPeak 2001)
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref erence/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 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/ 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:

$Replace with [founditems] (1997) Re:2nd WebCatalog2 Feature Request (1996) Upload files script (2003) Hello world ... (2002) Re2: frames & carts (1997) (1997) Progress !! WAS: Trouble with formula.db (1997) Supressing Error Messages (1998) recomend ftp (2001) Re:FYI: Error message (1996) New commands in Final candidate (1997) Pretty Easy I bet (2000) DRC content management site (2003) [OT] Flash conternt only in IE? (2006) WebCat2 Append problem (B14Macacgi) (1997) security problem (1997) Emailer (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) Still can't upgrade users.db to 2.1.1 (1998) Requiring that certain fields be completed (1997)