Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    905
    Thanks
    23
    Thanked 5 Times in 5 Posts

    document.write help

    Hi,

    I have a problem, Im trying to print a inputed form value to a page without reloading. OnClick the following function runs:
    function Done(){
    document.write("here "+ document.form1.SiteAdd +"");
    }
    At the moment the only thing printed on the page is 'here $VAL' (obviously not actually $val, but the input) .. and the rest of stuff on page is not displayed.. is there anyway to print the value to the pag without removing the rest of teh content?

    Thanks all
    cheers,
    Sir P

  • #2
    Senior Coder
    Join Date
    Apr 2005
    Posts
    1,051
    Thanks
    0
    Thanked 0 Times in 0 Posts
    where is this function placed relative to the body? in the header?
    public string ConjunctionJunction(string words, string phrases, string clauses)
    {
    return (String)(words + phrases + clauses);
    }
    <--- Was I Helpfull? Let me know ---<


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •