www.webdeveloper.com
Results 1 to 2 of 2

Thread: ughh.. help?

  1. #1
    Join Date
    Mar 2005
    Posts
    3

    ughh.. help?

    I feel so stupid, i posted this code in the wrong forum >.>


    Can someone tell me what is wrong with it?

    Code:
    var dest=parent.ekran.document.getElementById('chatbox');;var originaltext=dest.value;var newtext='haha';if (dest){dest.innerHTML=originaltext.''newtext;}

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    if (dest){dest.innerHTML+=newtext;}
    or just
    parent.ekran.document.getElementById('chatbox').innerHTML+='haha';

    and 2 ';;' after first statement.
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles