473,379 Members | 1,539 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Firefox refreshing unexpectedly

I have an ASP.Net 2.0 web site that I am testing against firefox (Everything
works right in IE).. My site has a navigation framework setup with master
pages and it ues the menu and tree controls. There are buttons on the pages
that when clicked call functions that change the apearance of the navigation
structure by changing styles on certain elements.

When these buttons are pressed when running in firefox, the propper
apearance changes occur, but then the page is immediately reloaded to its
original appearance.

Does anyone have any ideas how to keep this from occurring?

--
Howard Swope [hswope.swopeATnavteqDOTcom]
Senior Software Developer
Media Development
Navteq Traffic [http://www.traffic.com]
Jul 25 '07 #1
2 1094
Howard Swope wrote:
I have an ASP.Net 2.0 web site that I am testing against firefox (Everything
works right in IE).. My site has a navigation framework setup with master
pages and it ues the menu and tree controls. There are buttons on the pages
that when clicked call functions that change the apearance of the navigation
structure by changing styles on certain elements.

When these buttons are pressed when running in firefox, the propper
apearance changes occur, but then the page is immediately reloaded to its
original appearance.

Does anyone have any ideas how to keep this from occurring?
What kind of buttons are you using?

To run Javascript on the page without posting anything back to the
server, you should use an input tag with type="button", not type="submit".

--
Göran Andersson
_____
http://www.guffa.com
Jul 25 '07 #2
You were absolutely right. I changed the type to type="button" and
everything worked well.

Thanks!

"Göran Andersson" <gu***@guffa.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Howard Swope wrote:
>I have an ASP.Net 2.0 web site that I am testing against firefox
(Everything works right in IE).. My site has a navigation framework setup
with master pages and it ues the menu and tree controls. There are
buttons on the pages that when clicked call functions that change the
apearance of the navigation structure by changing styles on certain
elements.

When these buttons are pressed when running in firefox, the propper
apearance changes occur, but then the page is immediately reloaded to its
original appearance.

Does anyone have any ideas how to keep this from occurring?

What kind of buttons are you using?

To run Javascript on the page without posting anything back to the server,
you should use an input tag with type="button", not type="submit".

--
Göran Andersson
_____
http://www.guffa.com

Jul 25 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Niel | last post by:
Hello friends, I am not sure if i am posting to the correct group but if anyone has an idea about this and the possible solution or the link to that solution then please let me know We have out...
6
by: hannibal | last post by:
Hi, i need to refresh page cathcing "onResize" event. I wrote this code: <body onResize="javascript:winodw.location.reload(true); return true;"> On I.E. it works, but it doesn't work on...
6
by: baranabas | last post by:
I have looked, but I can't seem to find an explanation for the problem I am having. I have a page that show an image from another server. I want the image to refresh without refreshing my page. (My...
2
by: Matt Sollars | last post by:
Hi all. I'm having a nasty problem. A client's website was originally written with classic ASP. They requested a new portion of the site that was deemed a perfect candidate for ASP.NET. So, .NET...
3
by: Ramesh Dodamani | last post by:
Environment: XP Pro, VS.Net 2003, .Net 1.1.4322 with SP1 & KB Hotfix 886903 P4 2.2GHz, 1 GB RAM My system was working fine till a few weeks back when I started seeing the following errors. ...
0
by: PeterKellner | last post by:
I have an asp.net 2.0 Image control that I have surrounded with the appropriate atlas:UpdatePanel tags. The Image control referencs an aspx page whose only job is to output an Image. (it forms...
4
by: jackchang1 | last post by:
Hi I should admit at the beginning that I love FireFox very much. But recently there were two FF related issues that bothered me, and I had no idea. The first one is how to use javascript to...
3
by: reflex | last post by:
Hi, i am using onmouse tooltip on my website. Under them i use iframe to hide form elements if is tooltip above them. Everything works fine only at firefox there is +-1sec "refresh" when tooltip...
4
by: Penn | last post by:
On my mac, I am running Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.7) Gecko/ 20070914 Firefox/2.0.0.7 and Safari Version 3.0.3 (522.12.1) My gadget:
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.