Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コード ビハインドで c# でメソッドを実行するときに、タグのクラス名を置き換えたい。解決策はありますか?適切なコードは何ですか?
例: に変換
jqueryではなくコードビハインドのみ
サーバーサイド ( runat="server") コントロールを使用して、その CssClass 属性を変更します。
runat="server"
MSDN リファレンス。