Carey Brown wrote:Steve, I think it would help if you could provide a number of examples, showing the input String and the expected output String. I feel that people are not jumping in to respond because the requirements are a bit vague.
Bear Bibeault wrote:
I think what you want (and this is from memory so details may vary) is to call the element's focus method. So something along the lines of:
Bear Bibeault wrote:A disabled control cannot accept focus.
Tim Holloway wrote:
2. Use the "jquery" method in place of "$", which is just a shortcut for it anyway, Best used when only a small amount of JavaScript is embedded on a page template (which is also preferred)
Ron McLeod wrote:
overrideValue.trim().isEmpty()
Ron McLeod wrote:On the client side, couldn't you just use the JS trim() method?