jQuery - Append a Value to an INPUT, keeping it a Comma Delimited list 

$('#attachment-uuids').val(function(i,val) {
return val + (!val ? '' : ', ') + '66666';
});


as of 3/4/2014 :)
http://stackoverflow.com/questions/4339 ... mited-list

[ view entry ] ( 1537 views )   |  print article

<<First <Back | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | Next> Last>>


2025 By Angel Cool