how to get first 4 characters of a string in jquery code example
Example 1: jquery get first character of string
var header = $('.time'+col).text();
alert(header.charAt(0));
Example 2: how to get the first letter of a string in jquery
var header = $('.time'+col).text();
alert(header.charAt(0));