Hey all, 

 

 

How would I control a select tag based on this.

 

function updateSelectedJournals(responseStruct) {

            $('selectedJournals').innerHTML = "Selected Journals
("+responseStruct.total+")";

            $('lstSelectedTerms').innerHTML = responseStruct.lstoutput;

 

 

I have <select name="op"><option>OR</option><option>AND</option></select> 

I want the "and" to show up if repsonseStruct.total is greater than 1.

 

Thanks

 

sas

 

 

-- 

Scott Stewart

ColdFusion Developer

 

SSTWebworks

7241 Jillspring Ct.

Springfield, Va. 22152

(703) 220-2835

 

http://www.sstwebworks.com

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275082
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to