I've got a form developed which performs a number of validation methods on it. Recently the client wanted the default text to get selected when clicking into it, or whenever that form became the focus. The method to invoke is quite simple:

Code:
myinput.id.select();
This sort of work on Safari and FireFox. Tabbing works fine since thats a default action anyway - but clicking into the field sometimes selects it properly, and other times it selected it then quickly places the prompt at the end of the text. This is my issue. Testing in IE7 seems to select it properly.

Can anyone else tell me if this is just how the Mac handles this or is there something else maybe I should be checking or testing for?

Thanks
Rich