It is NOT a live link!
I have no idea how to do this, so need some help please.
Expand|Select|Wrap|Line Numbers
- <form>
- <input type="button" id="link" value="Link"><br>
- <textarea name="message" style="width:40%; height:100px;">
- <a href="http://domain.com">Name</a>
- </textarea><br>
- <input type="submit" value="Save">
- </form>
1 Click the Link button.
2 Enter URL into 1st prompt
3 Enter Name into 2nd prompt
4 The HTML will show in the textarea (like above)
5 Save does all the rest elsewhere.
I reckon this will probably not be more than 1k of JavaScript.
Hope someone can help - thanks in advance.