I know this sounds simple, but please help....

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SubhaBabu

    I know this sounds simple, but please help....

    How to display a msg in the same page....documen t.write opens in a new page
    when i am using in the link....but i want to display in the same page.

  • Randy Webb

    #2
    Re: I know this sounds simple, but please help....

    SubhaBabu wrote:
    [color=blue]
    > How to display a msg in the same page....documen t.write opens in a new page
    > when i am using in the link....but i want to display in the same page.
    >[/color]



    --
    Randy
    Chance Favors The Prepared Mind
    comp.lang.javas cript FAQ - http://jibbering.com/faq/

    Comment

    • Thomas 'PointedEars' Lahn

      #3
      Re: I know this sounds simple, but please help....

      SubhaBabu schrieb:[color=blue]
      > How to display a msg in the same page....documen t.write opens in a new page[/color]

      document.write( ) overwrites the current document once it has finished
      loading.
      [color=blue]
      > when i am using in the link....but i want to display in the same page.[/color]

      W3C-DOM Level 2 (Gecko-based, IE 5+, Opera 6+):

      htmlElement.app endChild(anothe rHtmlElement)
      or
      htmlElement.sty le.display = ""
      or
      htmlElement.sty le.visibility = "visible"
      or
      ...

      This is getting a FAQ[1]. Google is your friend [psf 6.1]

      And your Subject header should have been much more descriptive.


      PointedEars
      ___________
      [1] http://jibbering.com/faq/

      Comment

      Working...