JS aufruf funktioneirt im ie nicht



  • hey,

    habe bei folgendem script bzw. script aufruf ein problem:

    c#:

    if (Page.IsPostBack)
    {
    string startPlace = Page.ClientQueryString + "#formBegin";
    Page.RegisterStartupScript("myScript", "<script language=JavaScript>jumpToFormStart('" + startPlace + "');</script>");
    }

    und das JS:

    function jumpToFormStart(startPlace) {
    var theNewPlace = "index.aspx?" + startPlace;
    self.location = theNewPlace;
    }

    Auf der Website welche bei mir local läuft funktioniert das Script super, im ie sowie im Firefox, bei der Webpage welche allerdings auf dem Server liegt funktioniert das Script nur im Firefox.

    hat da vllt. jemand eine Idee woran das das liegen könnte?


Anmelden zum Antworten