开发者

how to go other page on dropdown selection using asp.net mvc

I have a dropdownlist box on my page.. with A B C D E F each pages have different images.

Once If I select A I need display one Image like B I need to display other image/table on the page.

Can any one tel开发者_开发技巧 me how to do this?


I'd use jQuery, quick example to get you started:

$('#dropDownList').change(
    function() { 
        $('#contentDiv').html("<img src='yourjpg.jpg' alt='alt text' />"); 
    });

You will want to check some values and pick the correct jpg based on the value selected, but that should get you started.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜