.calendarList {
background-image: url('/resource3/hpsc/common/images/calendar.png');
background-position: 135px 50%;
background-repeat: no-repeat;
cursor:pointer;
}
<input type="text" id="toDatepicker" class="calendarList" name="searchEndDate" size="20" >
這裏的CSS類應用完全輸入文本字段,當鼠標移到文本字段,將光標顯示手符號的總輸入字段, 我什麼顯示該圖像的手形符號僅適用於整個文本字段。
哪個圖片?我沒有看到圖像。但是,再次,我沒有看到任何jQuery的JavaScript。 – GolezTrol
圖像在哪裏? – Reigel
我認爲他/她的意思是背景圖像 – samn