Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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!

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

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

![]() |
how to see the cpanel
|
Is this ok ?
|

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