what is the best way to add an attribute to every <input type='text'> item in a project? {ex. <input type='text' onclick="alert('textbox was clicked.')"}
I tried useing javascript and it would only add the attribute to the last one in the loop.
I don't know how to do it in vbscript or jscript.
I have tried several things in vb.net but I can't seem to get it to work.
I tried useing javascript and it would only add the attribute to the last one in the loop.
I don't know how to do it in vbscript or jscript.
I have tried several things in vb.net but I can't seem to get it to work.