Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

cross browser problems

Featured Replies

My site (multiple pages, javascript) is working okay when opening with explorer 5 under OS 9.2. Also Windows professional with explorer 6 no problems at all.

Under OS X, explorer 5.2 the OK and CANCEL button do not work ( i have included the code). When pressing nothing happens. javascript is enabled because i use javascript to get to this page.

Can anyone explain me why this page (actually the buttons) do not work under explorer 5.2, OS X.

This is the code

Thanks Jitse

<HTML>

<HEAD>

<TITLE>editconfig</TITLE>

</HEAD>

<BODY BGCOLOR="#FFFF33" onload="initpage()">

<SCRIPT LANGUAGE=javascript>

var i =0

function initpage(){

if ([FMP-CurrentToken:1]==1)

window.document.location.href="http://10.0.1.4/FMPro?-DB=webexpert&-lay=L2&-Format=M1.htm&-RecID=[FMP-CurrentToken:0]&-Edit"

}

function OKselect(){

var str1

var refstr

var v1

var v2

var v3

var v4

var v5

str1="http://10.0.1.4/FMPro?-DB=configuraties&-lay=L1&-Format=editconfig.htm&-RecID=[fmp-currentrecid]"

v1=window.document.myform.omschrijving.value

v2=window.document.myform.Q.value

v3=window.document.myform.V.value

refstr=str1+"&omschrijving="+v1+"&Q="+v2+"&V="+v3+"&-Token.0=[FMP-CurrentToken:0]&-Token.1=1&-edit"

window.document.location.href=refstr

}

function CANCELselect(){

window.document.location.href="http://10.0.1.4/FMPro?-DB=webexpert&-lay=L2&-Format=M1.htm&-RecID=[FMP-CurrentToken:0]&-Edit"

}

</SCRIPT>

[FMP-If: CurrentToken:1.eq.0]

Wijzig locatie : [FMP-FIELD: locatie]

<FORM name="myform">

<TABLE BORDER=1>

<TR>

<TD WIDTH=231>

</TD>

<TD><Textarea rows=5 cols=60 NAME=omschrijving>[FMP-Field: omschrijving]</Textarea>

</TD>

</TR>

<TR>

<TD WIDTH=241>

<P><FONT SIZE="-1">Afvalwaterdebiet zuiveringsinstallatie

&#91;m^3/dag&#93</FONT></P>

</TD>

<TD WIDTH=227>

<P><INPUT TYPE=text NAME=Q VALUE="[FMP-Field:Q]" SIZE=30></P>

</TD>

</TR>

<TR>

<TD WIDTH=241>

<P><FONT SIZE="-1">Volume van AT &#91;m^3&#93</FONT></P>

</TD>

<TD WIDTH=227>

<P><INPUT TYPE=text NAME=V VALUE="[FMP-Field: V]" SIZE=30></P>

</TD>

</TR>

</TABLE>

</FORM>

<a href="#" onclick="OKselect()"><image src="OK.gif" height="30" border="0"></a>

<a href="#" onclick="CANCELselect()"><image src="CANCEL.gif" height="30" border="0"></a>

[/FMP-If]

</BODY>

</HTML>

Try this:

window.document.location = "http://10.....

I removed the .href

Good Luck.

Garry

I have just been doing some tests with:

location = "http://.....

document.location = "http://....

window.location = "http://....

All with and without .href and none seem to work from a Function within IE 5.2 on OS X. However, it works OK in the Body tag with "onload".

My guess is that it is a Microsoft bug frown.gif

Good Luck.

Garry

p.s. All of the combinations worked in Netscape Navigator.

  • Author

Thanks gary for testing,

(*no doubt microsof will explain this is a security patch that they bring out every day *)

I have also tested the page on Windows XP explorer 6, the same problem with the buttons.

Could you please explain your remark about the upload?

Is there a work around for this problem.

Any suggestions are welcome.

Jitse

This works in IE 5.2 OS X:

<body onload="document.location = 'http://....';">

So, for some reason the "onload" function of the Body tag will replace the document.location, however, a declared Function will not.

Good Luck.

Garry

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.