<TR><TD> </TD><TD align=left valign=middle width=300><b>DMReport</b></TD><TD align=left valign=middle width=400><INPUT Type="button" name="INPUT" Value="INPUT FORM" class="btnHighlight" onClick="javascript: self.location='http:<url>/DMreport.jsp?currentPage=1&user=RP029J:uid'"></td></TR>
from above onClick event I want to click button using javascript in below code in below function :
web_button("INPUT",
"Snapshot=t23.inf",
DESCRIPTION,
"Type=submit",
"Tag=INPUT",
"ID=",
"Name=btnSubmit",
ACTION,
"FireEvent=onClick",
"UserAction=Click",
"EvalJavaScript=onClick="javascript: self.location='http:<url>/DMreport.jsp?currentPage=1&user=RP029J:uid'",
LAST);
this button is unable to click and EvalJavaScript event is not able to fire, can anybody comment on this query