I'm trying to get the ID of an element.
So for example when my textboxes get generated the look something like this:
var id = textbox.id;
alert('ID: ' + id); //This works
alert('ID: ' + id.substring(27)); //This does not work
What I want is to take the ID, and trim off the "ctl00_ContentPlaceHolder1_" so that all I'm left with is "ROC3" held in a variable that I can then continue to do other stuff with in code.