Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
get the first word from a string jquery
ordo
Programming language:
Javascript
2021-06-11 18:51:53
0
Q:
get the first word from a string jquery
King
Code:
Javascript
2021-05-28 16:08:48
var header = $('.time'+col).text(); alert(header.charAt(0));
1
Daniel
Code:
Javascript
2021-02-14 01:45:13
$('element').text().split(' ')[0]
0
Tags
string
get
jquery
first
word
Related
get id of first td jquery
jquery get first character of string
select the first elemnt have class in jquery
jquery last character in string
jquery get all paragraphs
how to display first value of an array in jquery
how to select the first div in jQuery
jquery first child
New to Communities?
Join the community