sorry for my poor english
what i mean was in the youtube website when you watch a video there in an input value for the embed code that when onclick the input field it will auto select all the embed code
i want a function just like that in my site
auto select all text within an input value automatically