__doPostBack not working in safari or firefox, works in IE

FBI

New Member
in my asp.net application, two buttons call a javascript function called refreshView, below is the function refreshView.\[code\]function RefreshView() { __doPostBack('ButtonApply', '') window.parent.location.href = "http://stackoverflow.com/questions/11107163/dashboardtree.aspx" }\[/code\]In IE, this is working correctly, but in firefox and safari the page refreshes (due to the window.parent.location) - but never calls the doPostBack (i was able to tell this using tracepoint and the sub that is called stores values to the database, the values are not being stored as well, sub is never hit). Below is the first line of the sub.\[code\] Private Sub ButtonApply_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonApply.Click\[/code\]Can anyone see why this would not work? I figured I could always replace the doPostBack with pageMethods and create a new sub/function - but I'd like to complete this the way it currently is. Thank you.
 
Top