我有这样的html:
<li id="lielement">
<span>Descriptions</span>
</li>
和这样的CSS:
#divBtnList li {
background-color: #BEBDBE;
background-image: url("../Images/RemoveButton.ico");
background-position: 100% 25%;
background-repeat: no-repeat;
border: medium none;
border-radius: 5px 5px 5px 5px;
box-shadow: 2px 2px 3px #000000;
color: #7F7F7F;
cursor: pointer;
font-family: 'Helvetica Neue',HelveticaNeue,Helvetica,Arial,sans-serif;
font-size: 1.2em;
line-height: 25px;
margin: 3px;
padding-left: 2px;
text-align: left;
text-shadow: 0 1px 1px;
}
我遇到了一个问题,我需要单击Removebutton
并单击Descriptions
如何编写 jquery 事件?
html 在这里:http: //jsfiddle.net/BLYg3/
1 - i want to click event for Descriptions
2- i want to click event for background image
请问你能帮帮我吗