I've crested it , whe the page goes to the server and back with some informations on form , the floating label is still hidded.
$('form').find('[data-toggle="floatLabel"]').each(function (ev) {
if ($(this).val()) {
$(this).attr('data-value', $(this).val());
}
});
Luiz () - 9 years ago - Reply 0
Hi , please , can you help me to make it work on ie8? the label dont go up when I input some text message on input text filed.
Luiz () - 9 years ago - Reply 0
I have the same problem . IE8 .
I'm trying to fix it, but still not progress.
Anyone help?
Mycon () - 9 years ago - Reply 0
sorry if this is a stupid question, but why do you put the classes inside brackets ( [ ] )? Haven't noticed that before and wondering if it has a particular purpose? thanks! And I love these! :D
Lacktone () - 9 years ago - Reply 0
It is a css coding habit I have. Basically each style sheet gets its own brackets. So it would be something like this
<div class="[ form-group ][ form-group-textarea ]">
The first set of brackets contains classes from bootstrap where the second set of brackets contain classes from my personally style sheet.
Honestly for small snippets of code such as bootsnipp it is hard to get why this help, but when working with a project that has 4-6 style sheets this method really helps keep things clean and organized.
mouse0270 () - 9 years ago - Reply 0
I like that, and certainly see the benefit. I have a project with multiple styles and it does get cumbersome at times. Wanted to make sure I wasn't missing out on some reason code wise :D I only pretend to be a programmer, and fairly new to javascript / jquery.
Thanks for the quick reply!
Lacktone () - 9 years ago - Reply 0
Matthew Hailwood () - 9 years ago - Reply 0
It is PPS not PSS, because PS is post-script so it would be post-post-script.
Bob () - 9 years ago - Reply 0