Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Help on Macintosh


  • From: javascript@xxxxxxxxxx (Marcelo Simon)
  • Subject: [Javascript] Help on Macintosh
  • Date: Mon, 15 Apr 2002 00:56:27 -0300

This is a multi-part message in MIME format.

------=_NextPart_000_0027_01C1E418.5F4FD520
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

can anyone tell me why this isn't working on a Mac ? Everything is ok on =
a PC, but on the mac it ain't submitting the form.

<script language=3D"JavaScript">
<!--
function valuerestore() {
 document.blah_box.mensagem.value =3D =
document.blah_box.tmp_mensagem.value;
 document.blah_box.nome.value =3D document.blah_box.tmp_nome.value;
 document.blah_box.tmp_mensagem.value =3D ' mensagem';
 document.blah_box.tmp_nome.value =3D ' nome';
 document.blah_box.sumbit();
    }
//-->
</script>

this is triggered by:

<input type=3D"image" name=3D"postar" src=3D"images/bt_postar.gif" =
onClick=3D"valuerestore()">

TIA
Marcelo Simon

------=_NextPart_000_0027_01C1E418.5F4FD520
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>
<DIV><FONT size=3D2>Hi,</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>can anyone tell me why this isn't working on a Mac ? =

Everything is ok on a PC, but on the mac it ain't submitting the=20
form.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>&lt;script =
language=3D"JavaScript"&gt;<BR>&lt;!--<BR>function=20
valuerestore() {<BR>&nbsp;document.blah_box.mensagem.value =3D=20
document.blah_box.tmp_mensagem.value;<BR>&nbsp;document.blah_box.nome.val=
ue =3D=20
document.blah_box.tmp_nome.value;<BR>&nbsp;document.blah_box.tmp_mensagem=
.value=20
=3D ' mensagem';<BR>&nbsp;document.blah_box.tmp_nome.value =3D '=20
nome';<BR>&nbsp;document.blah_box.sumbit();<BR>&nbsp;&nbsp;&nbsp;=20
}<BR>//--&gt;<BR>&lt;/script&gt;</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>this is triggered by:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>&lt;input type=3D"image" name=3D"postar"=20
src=3D"images/bt_postar.gif" onClick=3D"valuerestore()"&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>TIA</DIV>
<DIV>Marcelo Simon</DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0027_01C1E418.5F4FD520--