Well I am not going to say what the others have said.
First of all, currentRow is not the problem due to the fact that it is being
passed into the function. However the problem is that you have used a
coldfusion query and have expected it to be available on the client (not a
good idea).
On 6/15
Awesome :) Thank you very much - i'm going to try that out.
Ben
On 6/14/07, Charlie Griefer <[EMAIL PROTECTED]> wrote:
>
> #getItems.title[currentRow]#
>
> unless you're looping over the query data using query="getItems">, i don't believe the 'currentrow' variable will be
> available.
>
> but i
Your CF code has already executed by the time the JS code executes - so
using 'currentrow' for both won't work.
You might consider building a JS array based on your 'getItems' query,
outside of your JS function, and then reference that array inside your
JS function. Since JS array positioning s
#getItems.title[currentRow]#
unless you're looping over the query data using , i don't believe the 'currentrow' variable will be
available.
but i'm not sure you're trying to use *that* currentrow variable.
looks like you're trying to use an argument passed in to the
javascript function... which C
I'm trying to make the following work but CF complains about not having
variable when it's loading the page. Is there a way to write it so that it
won't complain?
Thanks in advance.
This is the code that's erroring out:
function itemDetails(currentRow)
{document.iDetails.title.value =
""#getIt
5 matches
Mail list logo