LassoBin Banner
Recent Posts
test
54 weeks ago
ezk
2463.9 weeks ago
Adam Randall
471 weeks ago
Adam Randall
474.5 weeks ago
Greg Hemphill
474.9 weeks ago
Greg Hemphill
478.2 weeks ago
Greg Hemphill
478.2 weeks ago
Becca
478.2 weeks ago
Greg Hemphill
478.2 weeks ago
Becca
478.2 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 61 divided by 74 equals