By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,624 Members | 1,692 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,624 IT Pros & Developers. It's quick & easy.

Window.Navigate in Firefox not working

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.