Re: Javascript/WebCatalog form population

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 37510
interpreted = N
texte = 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 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/ 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)
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 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/ 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:

WebTen? (1997) name-value pairs (2006) RE: Database Structure? (1998) Couple of questions II (1999) f2 download problems (1997) RE: IIS4b2 and WebCatalog b19 (1997) [WebDNA] Admin Login Required to Serve any TPL Page (2009) [listfiles] (2004) extending webcatalog (1997) OT: Weird table rendering w/ WebCat in Explorer (2005) Major problem (1999) Error: this shopping cart has already been submitted (2003) Cart doesn't interpret tag! (1997) Large Database Options? (1999) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) 404 error -- but wc code executes... (2001) Conditional searching & displaying (1997) Help! WebCat2 bug (1997) [MATH] and Dates (1998) Weird bug, or is there something amiss? (1997)