Computing.Net > Forums > Web Development > how to support multiple browser int

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

how to support multiple browser int

Reply to Message Icon

Name: rameshv
Date: February 26, 2009 at 01:19:56 Pacific
OS: Linux x86_64
Subcategory: Javascript/Ajax
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: Sandy (by sandeepankumar)
Date: February 26, 2009 at 04:22:29 Pacific
Reply:

Hi Ramesh,

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

-Sandy

Sandy!


0

Response Number 2
Name: shutat
Date: February 26, 2009 at 16:55:33 Pacific
Reply:

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();
alert(http);

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

HTH


0

Response Number 3
Name: rameshv
Date: February 26, 2009 at 20:19:15 Pacific
Reply:

Thanks for given sugession but my problem was not slove
<html>
<head>
<script lanaguage="javascript">
function ff()
{
var path=document.f.file.value;
document.f.h.value=path;
alert(path);
}
</script>
</head>
<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();">
</html>
//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


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


how to see the cpanel Is this ok ?



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: how to support multiple browser int

Sharing: How to make a video sharin www.computing.net/answers/webdevel/sharing-how-to-make-a-video-sharin/3784.html

Java serves CSS to diff'nt browsers www.computing.net/answers/webdevel/java-serves-css-to-diffnt-browsers/1095.html

how to protect wmv file www.computing.net/answers/webdevel/how-to-protect-wmv-file/2477.html