below are the code in my aspx files, i am trying to call onserverclick of hdnBtn from hdnBtn.click()
the code belows work in Firefox and Chrome but not working in IE, any idea why? thx for helping
protected void Page_Load(object sender, EventArgs e)
{
btnBrowse.Attributes.Add("onclick", file1.ClientID + ".click()");
file1.Attributes.Add("onchange", hdnBtn.ClientID + ".click()");
}
input runat="server" id="btnBrowse" type="button" value="..." class="lookupBtn"
disabled=true
input style="visibility:hidden" type="file" runat="server" name="file1" id="file1"
input style="visibility:hidden" type="button" runat="server" name="hdnBtn"
id="hdnBtn" value="" onserverclick="btnLookUpFile_Click"