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:

suggestions (1998) Viewing old carts (was FEW QUESTIONS) (1997) Emailer file formats (1998) Problems deleting when a search field is blank... (1998) Auto Delete EmailCompleted Files (2002) Nesting WebDNA in JavaScript (2003) Newbie trouble with [url] & [foundItems] (2000) problems with 2 tags (1997) Search for specific characters in a string (2005) Authenticating users without dialog box (1997) [WebDNA] jumpstart me? - how to auto-upload to a remote server? (2010) [WebDNA] [SETMIMEHEADER] (2013) Need WebDNA that crashes server for testing (2000) Modifying order output (1997) windows v4.5.1 (2003) Apache suffix mapping for .tpl (2000) [searh] or [shownext]problem (1998) Switch Case Context (2004) target=_blank and form variables (1997) Re:Adding Multiple files to a cart at once (1998)