Hello,

I have a textbox which (for example) has the text "abc123" in it. I would like to be able to do two things. One...is .... If I click my mouse between the "abc" and the "123", I would like to press a button and insert the letter "Z". So the resultant would look like this "abcZ123". Two...I would like to be able to select part of the text in the textbox..(for example the "ab" part and then press the button and insert the letter "Z"...so the resultant would look like this "Zc123".

I believe this has to do with .selectionstart...but....I have not been able to figure it out yet.

Thanks for any directions.