What's up with the jQuery trim method??
jQuery('#Reminders').attr('value').trim()
Object doesn't support property or method 'trim'
jQuery('#Reminders').attr('value')
"5,1,1"
$('#Reminders').attr('value').split(',') [5,1,1] [0]: "5" [1]: "1" [2]: "1"
I don't have these woes in FireFox or Chrome ... only IE 9.0. Is there something special about trim() ... I didn't get the memo .
IE doesn't have a string.trim()
method.
Instead, you can call jQuery's $.trim(str)
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With