any time same reply :(
my mistake as i find it obvious.
i can't have the code to work both INSIDE a
$(document).ready(
or $(function)
instance.
Il giorno venerdì 17 maggio 2013 22:12:08 UTC+2, matteo maria ambrogi ha
scritto:
>
> ... in any way...
>
> all in the title. I cant get the javascript bootstrap components working.
>
> <div id="example">Some element</div>
>
> <script>
> $('#example').popover({
> title: 'A title!',
> content: 'Some content!',
> trigger: "hover"
> });
> </script>
>
> this is not working and not loading the popover. same problem with:
>
> $('#try').typeahead();
>
> try.
>
> loading sequence:
>
> <script src="js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
> <script src="js/vendor/jquery-1.9.1.js"></script>
> <script src="js/vendor/bootstrap.min.js"></script>
> //or <script src="js/vendor/bootstrap.js"></script>
>
> i am not using data attributes for the sake of retrocompatibility.
>
--
You received this message because you are subscribed to the Google Groups
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.