The only way would be to have an even handler that gets called when keys are either pressed, or released, and check for thing like delete, or backspace.
It would be better though to just not display this prefix stuff, but automatically prepend it to the value specified by the user in the input field.
Main Topics
Browse All Topics





by: j_stonePosted on 2009-07-04 at 19:14:20ID: 24778620
it seems like that might create security problems...
any reason you can't just add the "../videos" part after they enter the rest?