try: html += '<table border="1"><tr><th>Test</th></tr>'; or , <table border=\"1\"> or , <table border=1\>
Andras Kende http://www.kende.com On Aug 8, 2013, at 11:26 AM, dragokivs <[email protected]> wrote: > I created a table inside a popover but I can't apply any css, such as borders > to it because the popover no longer appears. This is the working one: > > <a onMouseOver="createPopover($(this), options)">Name</a> > > > <script> > var options = {placement: 'right', trigger: 'click', html: true, > title:'Example'} > > function createPopover(element, args){ > var html = ''; > html += "<table><tr><th>Test</th></tr>"; > > $(element).data('content', html).popover(args); > } > </script> > Then the only thing I change is > > <table> > To > > <table border="1"> > What am I doing wrong? > > > -- > 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. > > -- 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.
