$(document).ready(function(){
$("button").click(function(){
$("p").hide();
});
});
In the code above I want to call the "button" object and get some attribute values from it inside the function called by clicking the button. How can I do that?