how to support multiple browser int

February 26, 2009 at 01:19:56
Specs: Linux x86_64
javascript not support in mozilla firefox but same javascript is support to InternetExplore what is the following steps are used avoid this problem please tell me

See More: how to support multiple browser int

Report •

February 26, 2009 at 04:22:29
Hi Ramesh,

I have tried JavaScript on both IE and Firefox. And it works fine! Please check your browser settings for the JavaScript.



Report •

February 26, 2009 at 16:55:33
I see ajax in the sub category field; do you mean that isn't working? As Sandy has stated, FF supports javascript provided it is enabled.

If it is ajax related, then try

function getXHTTP() {

   var xhttp;

   try { 
      xhttp = new ActiveXObject("Msxml2.XMLHTTP");
   } catch (e) {
      try {
         xhttp = new ActiveXObject("Microsoft.XMLHTTP");
      } catch (e2) {
           try {
              xhttp = new XMLHttpRequest();
           } catch (e3) {
              xhttp = false;

   return xhttp;

var http = getXHTTP();

If it's working, then you see a reference to an object. You might want to post your code too.


Report •

February 26, 2009 at 20:19:15
Thanks for given sugession but my problem was not slove
<script lanaguage="javascript">
function ff()
var path=document.f.file.value;
<form method=post action="img.jsp" name="f">
File<input type=file name="file"/>
<input type=hidden name="h" />
<input type=submit value="UPLOAD" onclick="return ff();">
//Hear alert display only filename not given full path of the file i.e c:\program files\img1.jpg .. The alert only given img1.jpg
IE given fullpath Firefox not given fullpath please telme the solution

Report •

Related Solutions

Ask Question