I'm new to JQuery, so could you please help me out with the following:
I have an ASP page. This page has a dynamically generated <Form> element.
The <name> of this Form element can be different <Q22Form1>, <Q4Form1>, <Q30 Form1>, etc. But <name> attribute always contains ...Form1>. Unfortunately, it does NOT have an ID.
<FORM action="../.../05/answer_proc05.asp" method=POST name="Question5Form1">
1). I need to check if the element with <name> containing "Form1" exists on the page.
2). If it's there i need to set some kind of a session variable indicating that this element exists on the page.
I think I would want to use some JQuery selector, but don't know the exact syntax for "If" condition and for setting Session variable inside JQuery function.