asp.net - Ask the user for number of file to upload -ASPX -


i'm trying build website (i learning whole subject now), , maybe anwser simple.

i devaloping in aspx/c#, , want in form, there select field (<select>) option of number of files upload, max files upload 4.

i want after select number of files, there up;oad fields (in number chose).

my question how can that? (maybe javascript of ajax ? have no idea how)

wish help, thanks.

i not sure if looking for, give try try this: http://jsfiddle.net/2bzwd/

`$('#select1').change(function(){   var count = $(this).val();   var uploadcount = 0;    $('.upload').each(function(){        if (count > uploadcount)         {             $(this).show('slow');             uploadcount++;         }        else        {            $(this).hide('slow');        }    }); });` 

Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -