Code from Zope

<table>
<dtml-in somequery>
  <tr>
     <td>&dtml-field3;</td>
     <td><a href="javascipt:
aFunction(&dtml-field1;,&dtml-field2;)">&dtml-field1;-&dtml-field2;</a></td>
<--  observe what call aFunction with two params
  </tr>
</dtml-in>
</table>

after render

<table>
  <tr>
    <td>Value1</td>
    <td><a href="javascript: aFtunction(801,1)">801-1</a></td>
  </tr>
  <tr>
    <td>Value5</td>
    <td><a href="javascript: aFtunction(801,1)">818-1</a></td>
  </tr>
  <tr>
    <td>Value78</td>
    <td><a href="javascript: aFtunction(801,1)">803-2</a></td>
  </tr>
....
</table>
2008/10/31 T.J. Crowder <[EMAIL PROTECTED]>

>
> Hi,
>
> Not sure what you're trying to do, can you expand on that a bit?
>
> (And *wow* is that a depressing sig line...  Que' deprimente!)
> --
> T.J. Crowder
> tj / crowder software / com
>
> On Oct 31, 9:19 pm, "Miguel Beltran R." <[EMAIL PROTECTED]> wrote:
> > Hi list
> >
> > I use Zope for programing. Using a loop inser varius rows, example
> > <tr>
> >   <td>name1</td><td><a href="javascript: modify(1,123)">My name</a></td>
> >   <td>name1</td><td><a href="javascript: modify(1,44)">My name</a></td>
> > ...
> > </tr>
> >
> > How can do it the same using observe and dom:loaded?
> >
> > --
> > ________________________________________
> > Lo bueno de vivir un dia mas
> > es saber que nos queda un dia menos de vida
> >
>


-- 
________________________________________
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to