You declared slidePosition as a local variable inside the ready()
function, so it doesn't exist for the other functions. Try making it
global, like this:
script type=text/javascript
var slidePosition = 0;
$(document).ready(function() {
);
playTrack(slidePosition);
};
/script
-Original Message-
From: Jason Fisher [mailto:ja...@wanax.com]
Sent: Sunday, June 12, 2011 3:06 PM
To: cf-talk
Subject: Re: What am I missing with this code? (Javascript)
You declared slidePosition
Not sure, but now that I look at it, you don't need to pass
slidePosition around at all now that it's a global variable. Try this:
script type=text/javascript
var slidePosition = 1;
$(document).ready(function() {
Excellent! Thanks!
-Original Message-
From: Jason Fisher [mailto:ja...@wanax.com]
Sent: Sunday, June 12, 2011 4:42 PM
To: cf-talk
Subject: Re: What am I missing with this code? (Javascript)
Not sure, but now that I look at it, you don't need to pass
slidePosition around at all now
input name=shooter_#currentrow# type=checkbox
value=#shooter_id[currentRow]#
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
Not quite following that. Can you paste the exact HTML being produced.
Also, dump the query to make sure the shooter_id column contains what you
think it does.
Are you by chance doing any nested loops or cfoutputs?
~Brad
- Original Message -
From: Rick Faircloth [EMAIL PROTECTED]
Matt's suggestion should work, but it really shouldn;t be necessary...
do you have your cfoutput inside a cfloop or the other way around?
what if you properly scope both recordcount and shooter_id with a query
name?
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
-Original Message-
From: Matt Quackenbush [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2008 8:57 PM
To: CF-Talk
Subject: Re: What am I missing???
input name=shooter_#currentrow# type=checkbox
value=#shooter_id[currentRow
# )
/cfquery
/cfif
/cfloop
Problems with that? Suggestions?
Rick
-Original Message-
From: Matt Quackenbush [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2008 8:57 PM
To: CF-Talk
Subject: Re: What am I missing???
input name=shooter_#currentrow# type
accidentally hit 'send' :\
that should have read:
form page:
cfoutput query=get_unregistered
input type=checkbox name=shooter
value=#get_unregistered.shooter_id# /
/cfoutput
action page:
cfif structKeyExists(form, 'shooter')
cfloop list=#form.shooter# index=idx
cfquery
!
Thanks!
Rick
-Original Message-
From: Azadi Saryev [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2008 9:20 PM
To: CF-Talk
Subject: Re: What am I missing???
Matt's suggestion should work, but it really shouldn;t be necessary...
do you have your cfoutput inside a cfloop
: What am I missing???
accidentally hit 'send' :\
that should have read:
form page:
cfoutput query=get_unregistered
input type=checkbox name=shooter
value=#get_unregistered.shooter_id# /
/cfoutput
action page:
cfif structKeyExists(form, 'shooter')
cfloop list
Doug, Are you using InitAvgFeedback as a UDF or as part of a CFC?
If it's used as a UDF, which looks like it based on what you've sent, all
you need to do is use #InitAvgFeedback(memberID)#. No need for cfinvoke.
Hth,
Michael
-Original Message-
From: Doug Brown [mailto:[EMAIL
13 matches
Mail list logo