LassoBin Banner
Recent Posts
test
195.5 weeks ago
ezk
2605.4 weeks ago
Adam Randall
612.5 weeks ago
Adam Randall
616 weeks ago
Greg Hemphill
616.4 weeks ago
Greg Hemphill
619.7 weeks ago
Greg Hemphill
619.7 weeks ago
Becca
619.7 weeks ago
Greg Hemphill
619.7 weeks ago
Becca
619.7 weeks ago
Make new post
Lasso Reference
MySQL Reference
Valid HTML 4.0!
 
Posted by Greg Hemphill on 02/21/2008 14:54:55.
Link
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[
function listAdd(I, L, Ad, D, Test, S)
  {
    var url = '/WeeklyAd/ShoppingList/Add/AJAX/';
    var qtyID = 'Qty' + L;
    var returnPathID = 'URL' + L;
    var returnPathName = document.getElementById(returnPathID);
    var qtyName = document.getElementById(qtyID);
    var qty = qtyName.value;
    var returnPath = returnPathName.value;
    var pars = 'I=' + I + '&L=' + L + '&Ad=' + Ad + '&Q=' + qty + '&D=' + D + '&Test=' + Test + '&Path=' + returnPath + '&-token.S=' + S;
    var ajaxTarget = 'ListItem' + L;
    var highlightTarget = 'AdItem' + L;
    
    var List = new Ajax.Updater(
      ajaxTarget, 
      url, 
      {
        method: 'post', 
        parameters: pars,
        evalScripts: true
      });
    
    new Effect.Highlight(highlightTarget,{duration: 2.0});
  }
]

  Post new code below.
Name
Code
Math -25 multiplied by 40 equals