Just use something like:
var author = $('meta[name=author]').attr('content');
or this as well
var author = $('meta[name=author]').prop('content');
More Related Contents:
- jQuery find events handlers registered with an object
- What is the difference between jQuery: text() and html() ?
- jQuery – Trigger event when an element is removed from the DOM
- Get an element by index in jQuery
- jQuery event for images loaded
- Rotating a Div Element in jQuery
- How can I run a directive after the dom has finished rendering?
- jQuery html() in Firefox (uses .innerHTML) ignores DOM changes
- JQuery to check for duplicate ids in a DOM
- jQuery: select an element’s class and id at the same time?
- How do I get the entire page’s HTML with jQuery?
- Events not registering after replaceWith
- Iterating over element attributes with jQuery
- AngularJS: $viewContentLoaded fired before partial view appears
- Finding the id of a parent div using Jquery
- How to get form html() via jQuery including updated value attributes?
- Get the selected option id with jQuery
- Dynamically adding HTML form field using jQuery
- How to destroy a DOM element with jQuery?
- addClass and removeClass in jQuery – not removing class
- Jquery version for $(“#submit”).on(“click”, function(){
- Best way to use Google’s hosted jQuery, but fall back to my hosted library on Google fail
- How to get nth jQuery element
- Installing jQuery?
- jQuery .hasClass() vs .is()
- Pass parameter between pages using jquery mobile
- How can I stop “property does not exist on type JQuery” syntax errors when using Typescript?
- How do you trigger autocomplete “select” event manually in jQueryUI?
- jQuery: Making simultaneous ajax requests, is it possible?
- Show/ Hide Table Column with colspan using jQuery