You should add event to any parent element of li.bibeintrag
.
$('ul').on('click', "li.bibeintrag", function(){
alert('myattribute=" + $(this).attr("myattribute'));
});
More Related Contents:
- Multiple input validation
- jQuery UI DatePicker – Change Date Format
- jQuery click event not working after adding class
- Why the Ajax script is not running on IIS 7.5 Win 2008 R2 server?
- Is it possible to style a select box? [closed]
- Select element by exact match of its content
- Perform client side validation for custom attribute
- How to remove close button on the jQuery UI dialog?
- jquery data selector
- Adding attribute in jQuery
- How can I change CSS display none or block property using jQuery?
- jQuery scroll to ID from different page
- Display JSON Data in HTML Table
- How can we specify rules for jQuery validation plugin by class?
- disable past dates on datepicker
- How to render partial view in MVC5 via ajax call to a controller and return HTML
- jQuery – replace all instances of a character in a string [duplicate]
- How to empty input field with jQuery
- jQuery scrollRight?
- jquery if div id has children
- Detect changed input text box
- jQuery calculate sum of values in all text fields
- how do I strip white space when grabbing text with jQuery?
- jQuery hasClass() – check for more than one class
- TypeError: $.browser is undefined
- Using jQuery .live with toggle event
- how to get value of selected item in autocomplete
- if checkbox checked add class to parent element
- jQuery Removing specific text from an element
- scroll up and down a div on button click using jquery