JS and Webcatalog

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38079
interpreted = N
texte = I have a .tpl containing a .inc with Javascript in it. The JS submits the form after it has finished its function. It submits it to another .tpl. However when I submit the form via JS it does not pass the action value over. It does if I click the Webcatalog button that is in the form. Why so?===one.tpl=== one.tpl
[include one.inc]
===one.inc===
===two.tpl==== THE FILE THAT FORM IS SUBMITTED TO [action] //<--- SHOWS IF webcatalog BUTTON CLICKED //NOT IF EXECUTED BY JS[showif [action]=DoThis1] EXECUTED VIA WEBCATALOG [/showif][showif [action]=DoThis2] EXECUTED VIA JAVASCRIPT [/showif]____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie------------------------------------------------------------- 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: JS and Webcatalog (Bob Minor 2001)
  2. JS and Webcatalog (Laeg Ent. 2001)
I have a .tpl containing a .inc with Javascript in it. The JS submits the form after it has finished its function. It submits it to another .tpl. However when I submit the form via JS it does not pass the action value over. It does if I click the Webcatalog button that is in the form. Why so?===one.tpl=== one.tpl
[include one.inc]
===one.inc===
===two.tpl==== THE FILE THAT FORM IS SUBMITTED TO [action] //<--- SHOWS IF webcatalog BUTTON CLICKED //NOT IF EXECUTED BY JS[showif [action]=DoThis1] EXECUTED VIA WEBCATALOG [/showif][showif [action]=DoThis2] EXECUTED VIA JAVASCRIPT [/showif]____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie------------------------------------------------------------- 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/ Laeg Ent.

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:

CommandSecurity? (1997) Dubble Bubba (1999) WebCommerce: Folder organization ? (1997) Server slowing down. (1997) WebCat2final1 crashes (1997) Question about replacing words (1998) date search not working when type=date specified (2007) Unexpected error (1997) [WebDNA] Listfiles and sort order (2010) [Announce] WebCatalog 3.0 Beta Program (1998) Question re: FlushDatabases (1997) Download to disk NOT display in browser (2002) emailer (1997) Summaries (1999) WebCatalog can't find database (1997) Email within tmpl ? (1997) RE: File Uploads (1998) pdf files? (2001) Error:Too many nested [xxx] contexts (1997) Creating main- and sub-category search (1997)