Thank you for testing that,Ian. I must have jumped to the wrong conclusion. I didn't expect that onClick would read the <cfelse> portion of my <cfif> when the condition was met for the menu_nonbmarkLink.
> I think you might be right, when I added a row to my test query with a
> blank "menu_bmarkLink" it produced output such as this:
> <li><a ... >
>
> That is definitely incorrect syntax in the onClick property and my
> test threw a JS error, but it did not say anything about not
> understanding #menu_bmarkLink#
>
> You should just need to trap for blanks in that column and not output
> an onClick property for those rows.
>
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- RE: passing multiple CF values to a JavaScript variable Ian Skinner
- Re: passing multiple CF values to a JavaScript variable Joy Holman
- Re: passing multiple CF values to a JavaScript variable Joy Holman
- RE: passing multiple CF values to a JavaScript variable Ian Skinner
- Re: passing multiple CF values to a JavaScript vari... Joy Holman
- Re: passing multiple CF values to a JavaScript ... Patric Stumpe
- RE: passing multiple CF values to a JavaScript variable Ian Skinner
- Joy Holman