Hi, thanks in advance - total noob here.
I have a dynamically generated link in a container. I cannot add an ID to the <a> element. I would like to add the href value to the hidden form element and submit onClick. Is it possible?
<div class="container"><a href="/somelink">Link Title</a></div>
<form name="aform" method="post" enctype="multipart/form-data" onsubmit="return checkForm(this)" action="/MemberProcess.aspx">
<input type="hidden" value="#" maxlength="1024" name="foo" id="foo" class="cat_textbox" />
<input class="button" type="submit" value="Complete" id="formbutton" />
</form>