Problems with link_to_remote

I loop to get the incementing number for Item some_number. I tried many How do I or should I do this counter?

Ruby executes where? Ajax executes where?

can you mix them?

So, where could you put that counter?

(Hint: a loop isn't even involved)

Keynan Pratt wrote:

I loop to get the incementing number for Item some_number. I tried many How do I or should I do this counter?

Ruby executes where? Ajax executes where?

can you mix them?

So, where could you put that counter?

(Hint: a loop isn't even involved)

In the view ? I might sound like a noob but how is it done?

Ah, I couldn’t see any mention of it in the docs on it’s noobkit.com page, hence why I said it.

Ryan Bigg wrote:

Ah, I couldn't see any mention of it in the docs on it's noobkit.com page, hence why I said it.

-- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email.

Hi,

Can anyone please tell me how to do counter for the above problems?

Thanks

Declare a js var = 1. send the var in the request. use var in controller on complete increment the variable. go take a programming class