> hey Issac..
> yeah I started using your code to generate the JS Array..
> var taskArray = new Array();
> <cfoutput>
> <cfloop index="x" from="1"
>  to="#alltasks.recordcount#">
>  taskArray[#x-1#] = new Array(
>        '#jsstringformat(alltasks.task)#',
>        '#jsstringformat(alltasks.c_taskid)#',
>        '#jsstringformat(alltasks.c_activityid)#');
> </cfloop>
> </cfoutput>

> but when implementing it..
> for(i=0;i<taskArray.length;i++){
>   for(j=0;j<2;j++) {
>      if (taskArray[i][2] == actid)
>       document.forms['laforma'].c_taskid.options[i] = new
> Option(taskArray[i][j], taskArray[i][j+1]);
>   }
> }

> which to me seems like it should work..
> But it isnt

See my last reply for the code-bit -- your j loop is an extra -- once
you remove that I think you should be okay.

s. isaac dealey   954.927.5117

new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework
http://www.sys-con.com/story/?storyid=44477&DE=1
http://www.sys-con.com/story/?storyid=45569&DE=1
http://www.fusiontap.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to