I am simply attempting to get jquery to identify the first letter of a paragraph. How would I do this?
For example, I have a page with a number of paragrahs on a pa
$('p').hide().filter(function(){return $(this).text().match(/^b/i);}).show();
or indented
$('p').hide()
.filter(
function(){
return $(this).text().match(/^b/i);
}
)
.show();
remove the i
in the match if you want it to be case sensitive..
and you can look at http://jquery-howto.blogspot.com/2009/09/get-url-parameters-values-with-jquery.html on how to get the url parameters..