J
John
I've been working on making my ASP.NET web apps compatible with Firefox (the
uplevel configs for web.config are a real help).
However, one really weird thing is a GotoAnchor() function I have (server
side), which injects javascript along the lines of:
location = '#buttons';
I use this so that, following postback, I can just back down to the relevant
part of the page.
It works fine in IE, but not in Firefox! Furthermore, I seem to loose other
Javascript injected following it (it's not simply malfunctioning, it's not
rendered by .NET!).
Any ideas why this is happening? Maybe a second postpack?
I can work around it by only emitting the javascript with IE - it's not the
end of the world. But a way to get similar functionality on Firefox would be
great.
Thanks,
John
uplevel configs for web.config are a real help).
However, one really weird thing is a GotoAnchor() function I have (server
side), which injects javascript along the lines of:
location = '#buttons';
I use this so that, following postback, I can just back down to the relevant
part of the page.
It works fine in IE, but not in Firefox! Furthermore, I seem to loose other
Javascript injected following it (it's not simply malfunctioning, it's not
rendered by .NET!).
Any ideas why this is happening? Maybe a second postpack?
I can work around it by only emitting the javascript with IE - it's not the
end of the world. But a way to get similar functionality on Firefox would be
great.
Thanks,
John