W3C home > Mailing lists > Public > www-talk@w3.org > September to October 2003

javascript query

From: Rose Rose <smiles_rose@rediffmail.com>
Date: 1 Sep 2003 09:49:37 -0000
Message-ID: <20030901094937.27723.qmail@mailweb34.rediffmail.com>
To: www-talk@w3.org

Hi ,
  I have written a JavaScript method in HTML file which
  performs HTTP post operation as shown below -
  function go()
  {
    document.form.action="test,htm";
    document.form.method="POST";
    document.form.submit();
  }

  Then I am invoking this JavaScript method in HTML page
  as -
  <IMG SCR="image.jpg" onClick = 'go();'> . This works
  fine in IE 5, but in Netscape 4.7 it does,nt work. Is
  there any workaround, when I can do this operation in
  both the browsers(IE 4 and above + Netscape 4 and
  above).

Please reply answer for this above question immeidately.


regards
Rose.

___________________________________________________
Medicine meets Marketing; Dr. Swati Weds Jayaram.
Rediff Matchmaker strikes another interesting match !!
Visit http://matchmaker.rediff.com?2
Received on Tuesday, 2 September 2003 01:22:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:28 GMT