[Webkit-unassigned] [Bug 7303] New: window.location.href in Safari
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Thu Feb 16 10:32:22 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=7303
Summary: window.location.href in Safari
Product: WebKit
Version: 420+ (nightly)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: JavaScript
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: sanrenmail at gmail.com
Hi
I am using the below javascript in my .Net Application and when accessing in
Safari 2.0.1 on Mac, it does not work.
function renameButton_Click(templateID)
{
alert(templateID);
window.location.href = "/SaveTemplate.aspx?templateID=" +
templateID.toString();
}
My Scenario -
1).Net application, website hosted on IIS in Windows server.
2) Works fine in IE6 on Windows.
3) I have more than one button in the form so not using the form action
attribute but calling individual JS functions on call of each button.
4) Each JS has window.location.href to redirect to the appropriate page.
5) In safari, the same page reloads.
6) Tried self/top/document..nothing seems to work.
Serached bugzilla and did not find any other bug. I am very new to Mac, so
please explain any solutions. Any help is greatly appreciated.
Thanks
Renuka Shan
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list