Thread View: borland.public.intrabuilder.forms
3 messages
3 total messages
Started by Cardiologia
Thu, 01 Oct 1998 00:00
help! IE4 vs IE3
Author: Cardiologia
Date: Thu, 01 Oct 1998 00:00
Date: Thu, 01 Oct 1998 00:00
23 lines
1395 bytes
1395 bytes
I have Intrabuilder professional 1.5 and two big problems
1)
I developed a login form that has a button associated to the onClick
event (which is client-side javascript).
It worked fine in IE3 and NN, but now it doesn't work in IE4.
It seems that the event is not recognized by the browser.
By manually adding the onClick="button1_onClick()" in the
HTML definition of the button, and placing // {Expost} on the code,
the event fires. Obviously I cannot modify manually the forms of the
final application!
2) In the login form, I added a java applet, loaded locally by
the browser. Again it works fine in IE3, but IE4 doesn't recognize
the applet as an object. The javascript code is:
....
document.forms[0].javaapplet1.MyMethod("MyParameter to pass to applet")
...
IE4 says document.forms.0.javaapplet1 is not an object!!
Any help will be greately appreciated.
eugenio.cervesato@pnhosp.inet.it
Re: help! IE4 vs IE3
Author: Eugenio Cervesato
Date: Mon, 05 Oct 1998 00:00
Date: Mon, 05 Oct 1998 00:00
36 lines
2012 bytes
2012 bytes
I solved the two questions, thanks to Marcelo and myself.
1) see the techniqes of Marcelo
2) the syntax for the IE4 and NN is:
document.javaapplet1.MyMethod("MyParameter to pass to applet")
3) Now that the client-side javascript works, and that tha java applet runs,
I have a new one problem due to security exceptions.
I learned that classes loaded locally aren't subject to security!!
I'll try to download an updated version of the JDK, may be it's a bug of my
version.
Eugenio
Cardiologia ha scritto nel messaggio <36133E0C.2BAE@pnhosp.inet.it>...
>I have Intrabuilder professional 1.5 and two big problems
>
>1)
>I developed a login form that has a button associated to the onClick
>event (which is client-side javascript).
>It worked fine in IE3 and NN, but now it doesn't work in IE4.
>It seems that the event is not recognized by the browser.
>By manually adding the onClick="button1_onClick()" in the
>HTML definition of the button, and placing // {Expost} on the code,
>the event fires. Obviously I cannot modify manually the forms of the
>final application!
>
>2) In the login form, I added a java applet, loaded locally by
>the browser. Again it works fine in IE3, but IE4 doesn't recognize
>the applet as an object. The javascript code is:
>....
>document.forms[0].javaapplet1.MyMethod("MyParameter to pass to applet")
>...
>IE4 says document.forms.0.javaapplet1 is not an object!!
>
>Any help will be greately appreciated.
>
>eugenio.cervesato@pnhosp.inet.it
Re: help! IE4 vs IE3
Author: Eugenio Cervesato
Date: Wed, 07 Oct 1998 00:00
Date: Wed, 07 Oct 1998 00:00
61 lines
2921 bytes
2921 bytes
I found the bug.
Locally loaded applets cannot access local files in NN, it can in IE3 and
also
in IE4, but a different technique is required.
In IE3 I did an applet and then I called its methods from javascript. This
doen't work in IE4
if that methods accesses the file system.
To avoid security exceptions, I changed view.
In the init() method of the applet I added mouse support: mouseDown(), and
in that method
I execute the code that opens files, and so on ...
So First, from Javascript I set some public parameters of the Applet, Then
the user
clicks on the applet area, and the work will be done.
second, from Javascript I retrieve the values set in some public parameters
of the applet.
It works in IE4 and IE3.
Eugenio
Eugenio Cervesato ha scritto nel messaggio
<6vb65d$gh156@forums.borland.com>...
>I solved the two questions, thanks to Marcelo and myself.
>1) see the techniqes of Marcelo
>2) the syntax for the IE4 and NN is:
>document.javaapplet1.MyMethod("MyParameter to pass to applet")
>3) Now that the client-side javascript works, and that tha java applet
runs,
>I have a new one problem due to security exceptions.
>I learned that classes loaded locally aren't subject to security!!
>I'll try to download an updated version of the JDK, may be it's a bug of my
>version.
>Eugenio
>
>
>Cardiologia ha scritto nel messaggio <36133E0C.2BAE@pnhosp.inet.it>...
>>I have Intrabuilder professional 1.5 and two big problems
>>
>>1)
>>I developed a login form that has a button associated to the onClick
>>event (which is client-side javascript).
>>It worked fine in IE3 and NN, but now it doesn't work in IE4.
>>It seems that the event is not recognized by the browser.
>>By manually adding the onClick="button1_onClick()" in the
>>HTML definition of the button, and placing // {Expost} on the code,
>>the event fires. Obviously I cannot modify manually the forms of the
>>final application!
>>
>>2) In the login form, I added a java applet, loaded locally by
>>the browser. Again it works fine in IE3, but IE4 doesn't recognize
>>the applet as an object. The javascript code is:
>>....
>>document.forms[0].javaapplet1.MyMethod("MyParameter to pass to applet")
>>...
>>IE4 says document.forms.0.javaapplet1 is not an object!!
>>
>>Any help will be greately appreciated.
>>
>>eugenio.cervesato@pnhosp.inet.it
>
>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads