How to get the subject name from within a div class?
English
$(".subject ").click(function() { // the script will declare here. alert('You are select ' + $(this).find('p').text() + ' subject '); });
div { border:1px solid #999;
English Biology Mathematic Science
Biology
Mathematic
Science