Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / JavaScript / March 2005



Tip: Looking for answers? Try searching our database.

Window.Navigate in Firefox not working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Boyd - 22 Mar 2005 21:20 GMT
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='+varID,'contactus')
}

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

Any ideas why ?

My Javascript is not great and would love some help

Thanks
David Dorward - 22 Mar 2005 22:49 GMT
> 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.

Signature

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

btmanmeh@verizon.net - 31 Mar 2005 05:10 GMT
> > I have a dropdown on a page (contact_us.asp) that when it is changed
> > the page reloads and displays the contact details selected
[quoted text clipped - 15 lines]
> 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.