Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Wednesday, March 16, 2011 12:39:01 PM(UTC)

Rank: Newbie

Groups: Member
Joined: 3/15/2011(UTC)
Posts: 2

Hi All,

Anyone know how to toggle the properties with javascript? I've tried the following to display eiter the uploader or an old fashioned series of file upload boxes, depending on an onchange event with radio buttons.

<div class="options">
                               <p class="contentHeader2">Upload Photos Manually 
                            <input id="imageSelect" name="imageSelect" type="radio" value="0" checked="checked" 
                            onclick="document.getElementById('Uploader1').visible='false'; document.getElementById('optionsLoader').style.display='block';" />  
                             Bulk Photos Upload <input id="Radio1" name="imageSelect" type="radio" value="1"
                             onclick="document.getElementById('optionsLoader').style.display='none'; document.getElementById('Uploader1').visible='true';" />       </p>

                        <cc1:Uploader ID="Uploader1" Visible="false" runat="server" Height="600" Width="710px" 
                            AutoSave="True" DestinationFolder="~/fileUploads" 
                            TempDirectory="fileUploads" LicenseKey="76FF1-00063-4EA80-00079-8DB66-A6DE25">
                <cc1:Converter Mode="*.*=SourceFile" />

                        <div id="optionsLoader">
                        Test Text
                        </div><!-- end optionsLoader--><br />

Edited by moderator Wednesday, March 16, 2011 6:44:53 PM(UTC)  | Reason: Not specified

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.