0

I updated my post in order to show you the html. thanks by the way

I would like to click the submit button which will make the Radiobuttonlist fade out. I tried many things but couldn't do it.

<div id="ctl00_ContentPlaceHolder1_UpdatePanel1">

                                                    <span>Looking at the image attached, what is the most likely diagnosis?</span>
                                                    <br />
                                                    <br />
                                                    <table id="ctl00_ContentPlaceHolder1_rbl_poll" border="0">
    <tr>
        <td><input id="ctl00_ContentPlaceHolder1_rbl_poll_0" type="radio" name="ctl00$ContentPlaceHolder1$rbl_poll" value="Item 1" /><label for="ctl00_ContentPlaceHolder1_rbl_poll_0">Item 1</label></td>
    </tr><tr>
        <td><input id="ctl00_ContentPlaceHolder1_rbl_poll_1" type="radio" name="ctl00$ContentPlaceHolder1$rbl_poll" value="Item 2" /><label for="ctl00_ContentPlaceHolder1_rbl_poll_1">Item 2</label></td>
    </tr><tr>
        <td><input id="ctl00_ContentPlaceHolder1_rbl_poll_2" type="radio" name="ctl00$ContentPlaceHolder1$rbl_poll" value="Item 3" /><label for="ctl00_ContentPlaceHolder1_rbl_poll_2">Item 3</label></td>
    </tr><tr>
        <td><input id="ctl00_ContentPlaceHolder1_rbl_poll_3" type="radio" name="ctl00$ContentPlaceHolder1$rbl_poll" value="Item 4" /><label for="ctl00_ContentPlaceHolder1_rbl_poll_3">Item 4</label></td>
    </tr>
</table>
                                                    <br />
                                                    <br />
                                                    <input type="submit" name="ctl00$ContentPlaceHolder1$btn_poll_submit" value="Button" onclick="fadePoll();" id="ctl00_ContentPlaceHolder1_btn_poll_submit" />

4

2 に答える 2

0

このコードを使用できます

$("*[name$='ctl00$ContentPlaceHolder1$rbl_poll'").attr("disabled", "disabled");
于 2013-01-31T13:08:01.480 に答える