How to call Javascript function in single statement, I have to call these two statements in a single onClick
img.Attributes( "onclick") = "toggleSidebar( " + IDPREFIXSIDEBAR CONTENT + CStr(tab.Id) + ")"
img.Attributes( "onclick") = "showTab(" + IDPREFIXTAB + CStr(res.Id) + ", '" + param + "');"
Please advice me how to call above two statements in single img.Attributes( "onclick")?
Thanks,
Vidyasagar
img.Attributes( "onclick") = "toggleSidebar( " + IDPREFIXSIDEBAR CONTENT + CStr(tab.Id) + ")"
img.Attributes( "onclick") = "showTab(" + IDPREFIXTAB + CStr(res.Id) + ", '" + param + "');"
Please advice me how to call above two statements in single img.Attributes( "onclick")?
Thanks,
Vidyasagar
Comment