I'm trying to create a function that will take a paragraph in HTML that looks like this;

```
<p>
One<br>
Two<br>
Three<br>
Four<br>
</p>

```

...and will use the `<br>` to select a specified line that can then be used. Something similar to this snippet below would be helpful for implementation, where `1` is the line number;

```
function addText() {
    var input = document.getElementById('TARGET');
    input.value = input.value +getLine("SOURCE", 1);
}

```

Any thoughts? Thanks!