How to add attribute when onclick event in asp.net
<p>Hi how can i add attribute into a button when button is clicked?</p>

<p>this is the attribute <code>dojotype="dijit.form.Button"</code></p>

<pre><code>void ButtonLogin_OnClick(object sender, EventArgs e)
{
 // the add attribute
}
</code></pre>

<p>this is my button</p>

<pre><code>&lt;button id="ButtonLogin" runat="server" onServerClick="ButtonLogin_OnClick"   jsid="ButtonLogin" style="float: right;
                            padding: 5px 15px 0px 0px;"&gt;
                           Login&lt;/button&gt;
</code></pre>
