English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Below, is a small part of a script I'm working on. I'm trying to get the script to paste at the text selector indicator inside a textbox, it pastes great except it only pastes at the end of the text already in a text box. can you figure out how to change the script to make it paste where I want it to paste? Thanks in advance.

function EndUL()
{
document.Pro.write.value += ("\n")
}

2006-09-03 12:53:10 · 2 answers · asked by da_cracken 1 in Computers & Internet Programming & Design

removing the + sign isn't the answer...that just erases everything in the box

2006-09-03 15:36:48 · update #1

2 answers

Aren't you missing a semicolon at the end of the line which starts document...

This is definitely a problem which will cause the line not to execute.

Cheers,

Leo

2006-09-03 19:18:35 · answer #1 · answered by Leo R 2 · 0 0

If you don't want it to add to the existing text, then get rid of the + before the = sign.

2006-09-03 22:17:24 · answer #2 · answered by sterno73 3 · 0 0

fedest.com, questions and answers