473,396 Members | 1,998 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,396 software developers and data experts.

Window.Navigate in Firefox not working

Hello All,

I have a dropdown on a page (contact_us.asp) that when it is changed
the page reloads and displays the contact details selected, to do this
i have a onChange() running on the dropdown and that runs a function
in my javascript.

All the JS function is:

function OfficeChange()
{
var varID = fmContacts.offices.value;
window.navigate('contact_us.asp?location_id='+varI D,'contactus')
}

This works in IE but does nothing in Firefox ......

Any ideas why ?

My Javascript is not great and would love some help

Thanks
Jul 23 '05 #1
2 10388
Boyd wrote:
I have a dropdown on a page (contact_us.asp) that when it is changed
the page reloads and displays the contact details selected
Oh dear. http://www.cs.tut.fi/~jkorpela/forms/navmenu.html
var varID = fmContacts.offices.value;
What is "fmContacts"? Do you expect browsers to create global variables to
reference anything with a name or id?

http://jibbering.com/faq/#FAQ4_13
This works in IE but does nothing in Firefox ......


What about Opera? Konqueror? Safari? There are more then two browsers.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 23 '05 #2
David Dorward wrote:
Boyd wrote:
I have a dropdown on a page (contact_us.asp) that when it is changed the page reloads and displays the contact details selected
Oh dear. http://www.cs.tut.fi/~jkorpela/forms/navmenu.html
var varID = fmContacts.offices.value;


What is "fmContacts"? Do you expect browsers to create global

variables to reference anything with a name or id?

http://jibbering.com/faq/#FAQ4_13
This works in IE but does nothing in Firefox ......
What about Opera? Konqueror? Safari? There are more then two

browsers.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/> Home is where the ~/.bashrc is

This is actually due to IE specific javascript I believe. I don't think
that it can understand window.navigate and should be calling
window.location.....Try it. I have the same problem with Verizon sites
because they are calling window.navigate, and they just hang forever
unless you go back.

Max

Jul 23 '05 #3

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

Similar topics

1
by: fogwolf | last post by:
First a basic outline of what I am trying to do: I want to have a page spawn a pop-up when you click "submit" on its form. On this pop-up page there will be another form. When you click "submit"...
1
by: RobG | last post by:
I create a new page and write to it. There is an anchor in the new page so that users can easily navigate to the bottom. In IE, it works fine. In Firefox, it loads the parent page into the new...
10
by: Tom Szabo | last post by:
Is there an event when that triggers when the window is closing.... I am talking about when the user clicks on the cross on the right top corner of the window!!!
4
by: Csaba Gabor | last post by:
Up until a few weeks ago, javascript code like window.open("http://mydomain.com", "windowName"); would always bring my new or reused window to the top, with focus. Lately, Firefox (Deer park...
5
by: anand basha | last post by:
what is the replacement for window.navigate in mozilla & i was used window.showmodelessdialog in IE5 - in mozilla it is not working *** Sent via Developersdex http://www.developersdex.com...
18
by: len.hartley | last post by:
Hi, I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to...
10
by: Tony | last post by:
I need to know how to open a pop up and close the main window without a prompt in Firefox 2 and IE 7. Anybody have any ideas on how to do that. I currently have this and it works in IE 6 and...
3
by: Laurahn | last post by:
The function javascript:window.close() is not working in firefox. how do i close browser window in firefox.
5
by: aelred | last post by:
I have a web page where a member can open up a chat window (child window) with another member. - From there the member can also navigate to other web pages. - From other pages in the site, they...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.