Time:
Scotland: Fri, 9:16 pm
Rhode Island: Fri, 4:16 pm
Florida: Fri, 4:16 pm
New Mexico: Fri, 2:16 pm
California: Fri, 1:16 pm

Click here to visit Livelife365.com

Click here to visit nmdarts.com



Buy this Ad Space.

180px wide.

Please get in touch with KH@ if you are interested and make an offer.

CLICK HERE TO GET AUCTION BAR NOW
US$10 per year - Save $100s!
The Fabulously Unfair
WebX Auction Bar. For Ebay etc.
Ro-Sham-Bo the opposition. Laugh like Eric Cartman when you win! CLICK HERE NOW!


More information and sign-up.

WebXpertz Hosting.
Custom fit from $5pm. PHP/MySQL
You'll save money, we'll save money. Seems fair to me. Interested? If so Please PM me here and tell me what you need. Thanks!


Please click here for more information

For continued disscussion on this topic : Javascript (opens page in UltraDev instead of Netscape)


muscle
02-28-2002, 04:28 PM
I have the following javascript seciotn of code that is causing an error in Netscape, but is working fine in Internet Explorer. For some reason when it reloads in Netscape upon select, I get a popup saying to open the document in UltraDev instead of reloading the page. In IE,it reloads the page perfectly fine. Any ideas or insight would be much appreciated. Thanks beforehand!!!

function getPathName(loc,action)
{
if (action == 'Add')
{var lqnbr = document.qadd.qnbr.value;}
else
{var lqnbr = document.qadd.qnbrb.value;}


var listObj = document.qadd.prdname;
var currSel = listObj.options[listObj.selectedIndex].value;
var currSel1 = listObj.options[listObj.selectedIndex].text;
if (action == 'Add')

{
sHref = loc + "?sSelectedPid=" + currSel +"&sSelectedPnm="+currSel1 +"&sQnbr="+lqnbr+"&METHOD="+action;
alert(sHref);
}

else

{sHref = loc + "?sSelectedPid=" + currSel +"&sSelectedPnm="+currSel1 +"&sQnbr="+lqnbr+"&Qnbr="+lqnbr+"&METHOD="+action;}

//parent.mainFrame.location.href = sHref;
window.location.href = sHref;
}

KH@
02-28-2002, 07:14 PM
You mean UltraDev, Macromedias ColdFusion program for designers?

Its probably hi-jacking the file due to its extension or something. My ColdFusion Studio App. is a pain for that too though it hasn't happend in exactly your circumstances.

Try loading the page on another machine without UltraDev installed and see what happens. Then you will know if its a local problem or not.

muscle
02-28-2002, 07:41 PM
Yes, you're correct when you say UltraDev, Macromedias ColdFusion program for designers. Unfortunately, I tried your recommendation, and no luck. I'm guessing it is an incompatibility with Netscape, why else would IE work perfectly. Thanks for the reply!!

KH@
02-28-2002, 07:48 PM
What did it open in when ultaDev wasn't present?

The code is too advanced for me to help with but I'll try to come up with other possible causes if I can.

If the page is on-line I can fire up Netscape 6.2 and see what happens if you tell me what to click.

diades
02-28-2002, 08:56 PM
Hi Muscle

I just looked over the script and as far as I can see, there is absolutely nothing wrong with it. As long as you have the requisite objects in the form that are referred to (which yiou obviously have as it operates in IE) then all should be well. I have to think that it is some other factor that is causing it.

KH@
02-28-2002, 10:32 PM
The symptoms point to UltraDev acting in a proprietry manner and usurping Netscapes claim on the file extension.

From this distance I can only suggest you check which extensions are assigned to what applications on your OS before moving on to check something more complex and wish the best of luck.

:bambooz: