src should be in quotes:
$('.img1 img').attr('src');
More Related Contents:
- How can I use JQuery to post JSON data?
- How to send a PUT/DELETE request in jQuery?
- Send JSON data via POST (ajax) and receive json response from Controller (MVC)
- How can I post an array of string to ASP.NET MVC Controller without a form?
- How to enable or disable an anchor using jQuery?
- jQuery Date Picker – disable past dates
- jQuery OR Selector?
- Bootstrap 3 Collapse show state with Chevron icon
- How can I set the value of a DropDownList using jQuery?
- Detecting no results on jQuery UI autocomplete
- jqGrid resolve the grid pager ID dynamically?
- jQuery load external site page
- jquery input select all on focus
- Set width of a “Position: fixed” div relative to parent div
- What is “traditional style of param serialization’ in JQuery
- Pass Blob through ajax to generate a file
- jQuery Validate plugin – password check – minimum requirements – Regex
- Mobile site – force landscape only / no auto-rotate
- jQuery delay not working
- jQuery select based on text
- Trigger change event using jquery
- How does GitHub change the URL without reloading a page?
- success callback after knockout.js finishes rendering all the elements
- select2 and jquery validation not working properly
- jQuery modal dialog and jqGrid
- jQuery check if it is clicked or not
- Why is Everyone Choosing JSON Over XML for jQuery? [closed]
- jQuery: append() object, remove() it with delay()
- jQuery 1.4.2 VSDoc
- How does jQuery .live() work?