Ron McLeod wrote:
overrideValue.trim().isEmpty()
Ron McLeod wrote:On the client side, couldn't you just use the JS trim() method?
Ron McLeod wrote:What is the value of overrideValue after this is executed?
Liutauras Vilda wrote:
Try this version of formatting (note, I extracted some code to variables and inverted some logic, for better readability(?)):
Tim Holloway wrote:
Only if I wanted to dynamically update the list with partial page updating would I use jQuery and then I'd be doing an AJAX fetch for the data.