该场景是,想在表td
中制作input type
框,并且它的右侧有一个日历图标。输入类型有placeholder "21-Jun-17"
和on click of input type a calendar should open.
我在寻找calendar api
,它符合我的需要,它应该是跨浏览器的?其次,日历图标应该位于输入的右侧?日历中的输入类型html
注意:上述场景应该适用于每个浏览器。
<html>
<body>
<tr>
<td>
<input type="text"> /`*logic to have a calendar icon at right and have a placeholder "21-Jun-17" and onclick open a small calendar where date is seletable*/`
</td>
</tr>
</body>
</html>
欢迎那你有没有尝试过的东西这么远吗?如果是,请粘贴你的努力。没关系,它不起作用,我们将检查并尝试为你纠正它 –
以及我试图把fontawesome图标,但它不可见。 –