macromedia.coldfusion.cfml_general_discussion
[Top] [All Lists]

Re: Loop and set variables to pass

Subject: Re: Loop and set variables to pass
From: "kiamber"
Date: Fri, 3 Aug 2007 20:54:12 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
I have a button that calls a function to "Check All" or "Uncheck All" 
checkboxes.  If I selected one at a time, it worked as expected and passed the 
values through the url (status=12345&status=67890&status=98765&status=43210), 
but if I used the button that called the function, it didn't work until I added:

 onChange="javascript:if(this.checked)return true;" 

 >I tried the "get" method and this is what I got:  
 I replaced the post to get as suggested

 >status=12345&status=67890&status=98765&status=43210 etc.... 
 This was part of the url.

 >However, it was within the debugging under URL Parameters. 
 URL Parameters:
 STATUS=12345,67890,98765,43210

 That's the best way I know how to explain it, but it is working for me.  I 
just use a <cfloop> and a ListLen in my code.

 Thanks again for the input! :0)


<Prev in Thread] Current Thread [Next in Thread>