เพิ่มรหัสสีลง input html ด้วย javascript


หน้าแรก JavaScripts เพิ่มรหัสสีลง input html ด้วย javascript
JSColor is a simple & user-friendly color picker for your HTML forms. It adds a color selection dialog to all specified <input> elements. You can pickerize any input field in two easy steps (see Installation below)

JSColor was featured in such software as WordPress and Adobe Dreamweaver plugins, or Plug N Edit.

Refer to jscolor.js in your HTML page:

  Code
<script type="text/javascript" src="jscolor/jscolor.js"></script>



Add a class to desired <input> tags:

  Code
<input class="color">



ดาว์นโหลดไฟล์ที่
http://jscolor.com/

ขึ้นไปด้านบน