Jump to content

How to show table cell when cell value changed


mikezang

Recommended Posts

I have a form as below, the sFilename will be changed in aspx.cs, I hope the table will be showed after sFilename changed, what can I do?

    <table border=0>
        <tr class='result'><th width=120>画像ファイル名</th><th width=120>商品コード</th><th width=120>アップロード結果</th></tr>
        <tr class='result'><td align=center id='filename'><% =sFilename %></td><td align=center><% =sGoods %></td><td align=center><% =sResult %></td></tr>
    </table><br /><br />

<script type="text/javascript">
    $(document).ready(function() {
        $('.result').hide();

        $('#filename').change(function() {
            $('.result').show();
        });
    });
</script>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.