Javascript & Search Results

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17408
interpreted = N
texte = In creating Javascript(the add to cart button) in search results I have the problem of getting all the buttons to return 'true', in fact the only one that will is the last item in the search results, though each button does return the Localize text....anyone else have to deal with this problem before? Here is the code, <<<[include file=petmallHeader.inc][include file=includes/nav.js]<PetMall Products<<
[numfound] record(s) matched your search.<
<
<<Geneva<<<<<<<<< <[founditems]<Geneva<<<<<<<<<<<[/founditems] [shownext method=Post]<<<[/shownext]<
<SKU<<<Product#<<<ProductName<<<Description<<<Size<<<Colours<<<CostPerUnit<<<QuantitiesAbove10<<HasPhoto<
[SKU]<[Product#]<[ProductName]<[Description]<[Size]<[Colours]<$[CostPerUnit]<$[QuantitiesAbove10]<[HasPhoto]<<Geneva8000,8000,8000onMouseOver=return setimg('cart',true) onMouseOut=return setimg('cart',false)>GenevaFFFF,5ACC,0000<<<
<
<<[searchstring]<
<
<
<
<<<<
<<
--------------------------and the javascript referal, [include file=includes/nav.js]---------------------------------------- Geneva8000,8000,8000< < <
Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Variable truncating when using javascript openwindow (Steve Raslevich 2011)
  2. Re: [WebDNA] Variable truncating when using javascript openwindow (Govinda 2011)
  3. Re: [WebDNA] Variable truncating when using javascript openwindow (aaronmichaelmusic@gmail.com 2011)
  4. Re: [WebDNA] Variable truncating when using javascript openwindow (Grant Hulbert 2011)
  5. Re: [WebDNA] Variable truncating when using javascript openwindow (Govinda 2011)
  6. Re: [WebDNA] Variable truncating when using javascript openwindow (Grant Hulbert 2011)
  7. Re: [WebDNA] Variable truncating when using javascript openwindow (Steve Raslevich 2011)
  8. Re: [WebDNA] Variable truncating when using javascript openwindow (Govinda 2011)
  9. [WebDNA] Variable truncating when using javascript openwindow (Steve Raslevich -Northern Sound 2011)
  10. Re: [WebDNA] Conditional Javascript and WebDNA (Tom Duke 2010)
  11. Re: [WebDNA] Conditional Javascript and WebDNA (Thierry Almy 2010)
  12. Re: [WebDNA] Conditional Javascript and WebDNA (Toby Cox 2010)
  13. [WebDNA] Conditional Javascript and WebDNA (Thierry Almy 2010)
  14. Re: [WebDNA] WebDNA jQuery JSON javascript stuff ("Diane Blackmore (Cohesion)" 2010)
  15. Re: [WebDNA] WebDNA jQuery JSON javascript stuff (Donovan Brooke 2010)
  16. Re: [WebDNA] WebDNA jQuery JSON javascript stuff (christophe.billiottet@webdna.us 2010)
  17. Re: [WebDNA] WebDNA jQuery JSON javascript stuff (Tom Duke 2010)
  18. Re: [WebDNA] WebDNA jQuery JSON javascript stuff ("Terry Wilson" 2010)
  19. Re: [WebDNA] WebDNA jQuery JSON javascript stuff (Donovan Brooke 2010)
  20. [WebDNA] WebDNA jQuery JSON javascript stuff ("Diane Blackmore (Cohesion)" 2010)
  21. Re: [WebDNA] Conditional Javascript and WebDNA (Patrick McCormick 2009)
  22. Re: [WebDNA] Conditional Javascript and WebDNA (Steve Craig 2009)
  23. Re: [WebDNA] Conditional Javascript and WebDNA (Patrick McCormick 2009)
  24. [WebDNA] Conditional Javascript and WebDNA (Steve Craig 2009)
  25. Re: [RemoveHTML] removing JavaScript ?? ( "Dan Strong" 2008)
  26. [RemoveHTML] removing JavaScript ?? ( Palle Bo Nielsen 2008)
  27. OT: Javascript Random Number ( Clint Davis 2007)
  28. Re: [OT] Javascript help ( Mark Derrick 2007)
  29. Re: [OT] Javascript help ( Donovan Brooke 2007)
  30. Re: [OT] Javascript help ( Matthew Bohne 2007)
  31. Re: [OT] Javascript help ( Donovan Brooke 2007)
  32. [OT] Javascript help ( Mark Derrick 2007)
  33. Re: webdna hideif / redirect - javascript disabled ( Lester 2006)
  34. Re: webdna hideif / redirect - javascript disabled ( John Peacock 2006)
  35. webdna hideif / redirect - javascript disabled ( Lester 2006)
  36. [OT] Need help from Javascript Gurus ( "Dennis J. Bonsall, Jr." 2006)
  37. Re: [OT] What is your favorite Javascript forum? ( Donovan Brooke 2006)
  38. Re: [OT] What is your favorite Javascript forum? ( "Nitai @ ComputerOil" 2006)
  39. [OT] What is your favorite Javascript forum? ( Donovan Brooke 2006)
  40. Re: storing javascript variables ( Jim Lanford 2005)
  41. Re: storing javascript variables ( Brian Fries 2005)
  42. storing javascript variables ( "Erol Guneri" 2005)
  43. Re: javascript popup ( "Nitai @ ComputerOil" 2005)
  44. Re: javascript popup ( Lester 2005)
  45. Re: javascript popup ( "Nitai @ ComputerOil" 2005)
  46. javascript popup ( Lester 2005)
  47. Re: OT: Javascript Jump Menu ( Rob Marquardt 2004)
  48. Re: OT: Javascript Jump Menu [SOLVED] ( Clint Davis 2004)
  49. OT: Javascript Jump Menu ( Clint Davis 2004)
  50. Re: OT - Javascript anyone? ( Alain Russell 2004)
  51. Re: OT - Javascript anyone? ( Clint Davis 2004)
  52. OT - Javascript anyone? ( Alisha Outridge 2004)
  53. Re: OT: Javascript Alert SOLVED ( Clint Davis 2004)
  54. OT: Javascript Alert ( Clint Davis 2004)
  55. Re: [OT] javascript field validation with encoded forms ( Gary Krockover 2004)
  56. [OT] javascript field validation with encoded forms ( Joe D'Andrea 2004)
  57. Re: Pulling Javascript from a DB ( "Nitai @ ComputerOil" 2004)
  58. Re: Pulling Javascript from a DB ( Clint Davis 2004)
  59. Re: Pulling Javascript from a DB ( Marc Kaiwi 2004)
  60. Pulling Javascript from a DB ( Clint Davis 2004)
  61. Re: Javascript Stored in a Database ( Jesse Williams-Proudman 2003)
  62. Re: Javascript Stored in a Database ( Jesse Williams-Proudman 2003)
  63. Re: Javascript Stored in a Database ( Pedro Rivera 2003)
  64. Re: Javascript Stored in a Database ( "WebDna @" 2003)
  65. Re: Javascript Stored in a Database ( "Scott Anderson" 2003)
  66. Re: Javascript Stored in a Database ( Jesse Williams-Proudman 2003)
  67. Re: Javascript Stored in a Database ( "WebDna @" 2003)
  68. Javascript Stored in a Database ( Jesse Williams-Proudman 2003)
  69. Re: OT: javascript help ( Kenneth Grome 2003)
  70. Re: OT: javascript help ( Kenneth Grome 2003)
  71. Re: OT: javascript help ( Kalin Mintchev 2003)
  72. Re: OT: javascript help ( "WebDna @" 2003)
  73. Re: OT: javascript help ( "WebDna @" 2003)
  74. Re: OT: javascript help ( Kenneth Grome 2003)
  75. Re: OT: javascript help ( Kalin Mintchev 2003)
  76. Re: OT: javascript help ( "WebDna @" 2003)
  77. Re: OT: javascript help ( "WebDna @" 2003)
  78. Re: OT: javascript help ( "WebDna @" 2003)
  79. Re: OT: javascript help ( Kenneth Grome 2003)
  80. Re: OT: javascript help ( Kenneth Grome 2003)
  81. Re: OT: javascript help ( Kalin Mintchev 2003)
  82. Re: OT: javascript help ( "WebDna @" 2003)
  83. Re: OT: javascript help ( Kalin Mintchev 2003)
  84. Re: OT: javascript help ( "WebDna @" 2003)
  85. Re: OT: javascript help ( "WebDna @" 2003)
  86. Re: OT: javascript help ( "Dan Strong" 2003)
  87. Re: OT: javascript help ( Donovan 2003)
  88. Re: OT: javascript help ( Christer Olsson 2003)
  89. Re: OT: javascript help ( "Dan Strong" 2003)
  90. Re: OT: javascript help ( Kenneth Grome 2003)
  91. Re: OT: javascript help ( Kalin Mintchev 2003)
  92. OT: javascript help ( Kenneth Grome 2003)
  93. Re: [OT] help with a javascript alert ( Kenneth Grome 2003)
  94. Re: [OT] help with a javascript alert ( "WebDna @" 2003)
  95. Re: [OT] help with a javascript alert ( Alain Russell 2003)
  96. [OT] help with a javascript alert ( Kenneth Grome 2003)
  97. Re: OT: javascript print() ( Stuart Tremain 2003)
  98. Re: OT: javascript print() ( "Nitai @ ComputerOil" 2003)
  99. OT: javascript print() ( Kalin Mintchev 2003)
  100. javascript implementation of MD5 algorithm for Authorize.Net ( "James D. Wilson" 2003)
  101. javascript implementation of MD5 algorithm ( "James D. Wilson" 2003)
  102. Re: Javascript Menus (Marko Bernyk 2003)
  103. OT: Javascript Menus (Clint Davis 2003)
  104. Re: Javascript help (Inkblot Media 2003)
  105. OT: Javascript help (Nitai @ ComputerOil 2003)
  106. Re: [OT] Good javascript book? (chas@valley.net (chas) 2002)
  107. Re: [OT] Good javascript book? (Robert Wade 2002)
  108. Re: [OT] Good javascript book? (Dan Strong 2002)
  109. [OT} Good javascript book? (Dan Strong 2002)
  110. Re: javascript & webdna... search without refresh (Donovan 2002)
  111. Re: javascript & webdna... search without refresh (Pedro Rivera 2002)
  112. Re: javascript & webdna... search without refresh (Matthew Bohne 2002)
  113. javascript & webdna... search without refresh (Matthew Bohne 2002)
  114. Re: Database search in JavaScript with passed values (Robert Wade 2002)
  115. Database search in JavaScript with passed values (Tim Postier 2002)
  116. Re: Not Java, Javascript and WebDNA (Michael Davis 2002)
  117. Re: Webcat/javascript interactive pulldowns Q [ANSWER] (Ron Ceballos 2002)
  118. Re: Webcat/javascript interactive pulldowns Q (Ron Ceballos 2002)
  119. Re: Webcat/javascript interactive pulldowns Q (drt - lists 2002)
  120. Webcat/javascript interactive pulldowns Q (Ron Ceballos 2002)
  121. Re: Javascript Form Validation (Tim Robinson 2002)
  122. Re: Javascript Form Validation (Clint Davis 2002)
  123. Re: Javascript Form Validation (Tim Robinson 2002)
  124. OT: Javascript Form Validation (Clint Davis 2002)
  125. Re: [OT] JavaScript Error (Donovan 2002)
  126. Re: [OT] JavaScript Error (Laeg Ent. 2002)
  127. Re: [OT] JavaScript Error (Donovan 2002)
  128. Re: [OT] JavaScript Error (Brian Fries 2002)
  129. Re: [OT] JavaScript Error (John Peacock 2002)
  130. [OT] JavaScript Error (Donovan 2002)
  131. OT: JavaScript Question (well... Using WebCat with it too) (Charles Kline 2001)
  132. Re: Refreshing Javascript (Laeg Ent. 2001)
  133. Re: Refreshing Javascript (Jeroen de Wijn 2001)
  134. Refreshing Javascript (Laeg Ent. 2001)
  135. Re: OT: JavaScript question (Charles Kline 2001)
  136. Re: JavaScript question (Charles Kline 2001)
  137. Re: JavaScript question (Anup Setty 2001)
  138. Re: OT: JavaScript question (Christer Olsson 2001)
  139. Re: JavaScript question (Anup Setty 2001)
  140. OT: JavaScript question (Charles Kline 2001)
  141. Re: submit a form using javascript in netscape (Andrew Simpson 2001)
  142. Re: submit a form using javascript in netscape (Celeste Paul 2001)
  143. Re: submit a form using javascript in netscape (John Peacock 2001)
  144. submit a form using javascript in netscape (Andrew Simpson 2001)
  145. Re: JavaScript form question (Charles Kline 2001)
  146. Re: JavaScript form question (John Peacock 2001)
  147. Re: JavaScript form question (Charles Kline 2001)
  148. Re: JavaScript form question (Daniel Smith 2001)
  149. Re: JavaScript form question (dylan wood 2001)
  150. Re: JavaScript form question (Charles Kline 2001)
  151. Re: JavaScript form question (Daniel Smith 2001)
  152. JavaScript form question (Charles Kline 2001)
  153. Re: OT: JavaScript question (Sam Lewis 2001)
  154. Re: OT: JavaScript question (Charles Kline 2001)
  155. Re: OT: JavaScript question (Charles Kline 2001)
  156. Re: OT: JavaScript question (Sam Lewis 2001)
  157. Re: OT: JavaScript question (Charles Kline 2001)
  158. Re: OT: JavaScript question (Clint Davis 2001)
  159. Re: OT: JavaScript question (Charles Kline 2001)
  160. Re: OT: JavaScript question (Sam Lewis 2001)
  161. OT: JavaScript question (Charles Kline 2001)
  162. javascript problem copying values (elive talklists 2000)
  163. Re: javascript problem copying values (John Palmerlee 2000)
  164. Re: OT : javascript form filling (John Butler 2000)
  165. Re: OT : javascript form filling (Laurent Pladys 2000)
  166. Re: OT : javascript form filling (Robert Wade 2000)
  167. OT : javascript form filling (Laurent Pladys 2000)
  168. Re: Javascript Fields of Strawberry Roses and Green Bananas (The Mooseman 2000)
  169. Re: Javascript Fields of Strawberry Roses and Green Bananas (Kimberly D Ingram 2000)
  170. Javascript Fields of Strawberry Roses and Green Bananas (Tony Frenzel 2000)
  171. Re: OT JavaScript question (Josh Tiger 1999)
  172. Re: OT JavaScript question (The Mooseman 1999)
  173. OT JavaScript question (elive talklists 1999)
  174. Re: Javascript and Pull Down menus (Mike_Davis 1999)
  175. Javascript and Pull Down menus (Mike Jones 1999)
  176. Re: javascript newPopwin and webcat (bobm 1998)
  177. Re: javascript newPopwin and webcat (PCS Technical Support 1998)
  178. javascript newPopwin and webcat (Gary Richter 1998)
  179. Re: javascript for dynamic pulldowns? (Bob Minor 1998)
  180. OT: javascript for dynamic pulldowns? (Marty Schmid 1998)
  181. Re: Javascript and Search Results (Rob Marquardt 1998)
  182. Javascript and Search Results (jimmy 1998)
  183. Javascript & Search Results (jimmy 1998)
  184. Re: JavaScript Image Problem (Tim Newton 1998)
  185. Re: JavaScript Image Problem (PCS Technical Support 1998)
  186. JavaScript Image Problem (Tim Newton 1998)
In creating Javascript(the add to cart button) in search results I have the problem of getting all the buttons to return 'true', in fact the only one that will is the last item in the search results, though each button does return the Localize text....anyone else have to deal with this problem before? Here is the code, <<<[include file=petmallHeader.inc][include file=includes/nav.js]<PetMall Products<<
[numfound] record(s) matched your search.<
<
<<Geneva<<<<<<<<< <[founditems]<Geneva<<<<<<<<<<<[/founditems] [shownext method=Post]<<<[/shownext]<
<SKU<<<Product#<<<ProductName<<<Description<<<Size<<<Colours<<<CostPerUnit<<<QuantitiesAbove10<<HasPhoto<
[SKU]<[Product#]<[ProductName]<[Description]<[Size]<[Colours]<$[CostPerUnit]<$[QuantitiesAbove10]<[HasPhoto]<<[url][SKU][/url]&cart=[cart]&db=petmall.db Geneva8000,8000,8000onMouseOver=return setimg('cart',true) onMouseOut=return setimg('cart',false)>GenevaFFFF,5ACC,0000<<<
<
<<[searchstring]<
<
<
<
<[cart]><<<
<<
--------------------------and the javascript referal, [include file=includes/nav.js]---------------------------------------- Geneva8000,8000,8000< < <
jimmy

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:

[IPAddress] and AutoProxy (1998) Question about replacing words (1998) weird cart #? (1999) Multiple Users.db Possible? (1997) Only charge card when product shipped ? (1997) WebCat2 - [include] tags (1997) [WebDNA] port from mime headers? (2017) PIXO Support (1997) suffix mapping for NT? (1997) Further on formula.db failure to calculate shipCost (1997) HELP WITH DATES (1997) WebCat with WebTen (1998) Initiating NewCart (1997) Bookmarked URL with cart (1998) Using Communigate Pro on Mac OS X Server (2000) Re(4): Small Bug: ErrorLog.txt/[FORMVARIABLES]/[ORDERFILE] (1998) Multiple prices (1997) RE: Displaying Location (1997) AutoCommit Preference? (1998) Emailer help....! (1997)