User Profile

Collapse

Profile Sidebar

Collapse
sarath chandran
sarath chandran
Last Activity: Jan 21 '08, 06:37 AM
Joined: Nov 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Replacement for window.showModalDialog in Mozilla

    Hi all,
    can you tell me the replacement for window.showModa lDialog in Mozilla.
    the code given below works well in IE but it doesn't work in Mozilla.
    Is there any replacement for this method in Mozilla.?
    If so then please help me by giving an example

    [CODE=javascript]
    window.showModa lDialog("../login/html/AdminLogin_User .html",loginTyp e,style
    [/CODE]
    See more | Go to post
    Last edited by gits; Dec 21 '07, 03:57 PM. Reason: added code tags

  • sarath chandran
    started a topic Issue using window.open in Mozilla

    Issue using window.open in Mozilla

    Hi all,
    I am facing an issue when I try to invoke an html from my servlet in Mozilla browser .It works fine with IE

    Code:
    out.println("window.open(\"../login/html/AdminLogin.html\",loginType,style)");
    out.println("document.forms[\"form1\"].Lang_Code.value = loginType[2];");
    out.println("document.forms[\"form1\"].AgentsTimeDiff.value = '"+timeDiff+"'");
    ...
    See more | Go to post
    Last edited by gits; Dec 21 '07, 03:47 PM. Reason: fix code tags

  • sarath chandran
    started a topic Works in IE not in Mozilla

    Works in IE not in Mozilla

    Hi
    Iam trying to make my application work in Mozilla.
    The below piece of code works well in IE but throws error in Mozilla.
    Can you modify the below piece of code so that it supports IE and mozilla.
    Kindly let me know some links which will help beginners to learn about coding in Mozilla Brower.

    [html]<HTML>
    <HEAD>
    <SCRIPT language=javasc ript SRC='../common/js/common.js'></SCRIPT><SCRIPT>...
    See more | Go to post
    Last edited by gits; Dec 13 '07, 07:47 AM. Reason: switch bold to code tags

  • Replacement of the given functions in Mozilla Browser

    what is this function trying to do?
    onload method calls these two functions
    [code=javascript]function getHost(){
    document.form1. Host.value = document.locati on.host;
    }
    function getClientTimeZo ne(){
    var dt = new Date();
    document.form1. ClientTimeZone. value = '' + dt.getTimezoneO ffset();
    }[/code]

    The above piece of code works well in IE but not in Mozilla
    How will I replace...
    See more | Go to post
    Last edited by gits; Dec 4 '07, 02:59 PM. Reason: fix code tags

  • sarath chandran
    started a topic Window.login

    Window.login

    Hi all
    when i execute my code in IE it doesn't show any error but when I execute in Mozilla it gives me an error like

    Uncaught exception Permision denied for Window.login


    It doesn't give me the line number nor the file name
    How will I debug?
    See more | Go to post

  • Javascript error when using Mozilla Browser

    Hi all,

    I am using a mozilla browser and the below piece of code appears to be erroneous.It works well with Internet explorer.
    Here I am getting the session id and storing it ina variable.
    How will I do this when I chnage to Mozilla Browser?

    [CODE=javascript]
    var sessID = window.parent.p arent.loginFram e.getSessionID( );
    [/CODE]
    See more | Go to post
    Last edited by gits; Nov 29 '07, 08:32 AM. Reason: fix code tags
No activity results to display
Show More
Working...