Menu
Is it possible to create form attributes using javascript?
There is a form tag <form id=”Form1″ method=”post” runat=”server”>
I want to be able to add/remove an attribute to it using javascript. Specifically “onkeydown”. So the javascript should cause the form tag to be <form id=”Form1″ method=”post” runat=”server” onkeydown=”texttexttext”>
and then also be able to remove that onkeydown attribute.