Tuesday, 15 June 2010

jquery - Issue with float labels -



jquery - Issue with float labels -

i'm trying implement floatlabels reason can't working.

here i’ve done:

first phone call js file

<script src="js/floatlabels.min.js"></script>

then script

<script> $('input.floatlabel').floatlabel(); </script>

then label

<input type="text" id="test-input" placeholder="this placeholder" class="floatlabel">

…. nil happens…. thoughts why? believe followed instructions...

many help

perhaps need wait load first:

$(function() { $('input.floatlabel').floatlabel(); });

because if run command in console, binds , works.

jquery html css forms

No comments:

Post a Comment