|
a simple tips for input control, tips use value property of input control to show, and auto show or hide when blur or focus the input control. snapshotwhen document ready
type something in the input control, and the tips is hidden
if you leave the input blank, the tips will show again
when you submit the form, the script will check the input value to see there are changes, clear the input value if nothing changes. usage $(function() {
$('#Description').tips({ text: 'some tips' });
});
feedbackmailto:lnj@devtemptation.com
|