var str="this is my very long string that I want to put inside a smaller textbox control";
var txtbox = document.getElementById('txtbox');
If I use the above script to set the value in a text box control with id="txtbox". The size of text control is 35. after the script is run, I see
"this is my very long string that I w" in the textbox and rest of the string is hidden. I need to navigate through the letters to see them. is there a way to make the txtbox to show "inside a smaller textbox control" that is the last part visible and the first part hidden instead?