Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function showListMembers($list, $container) {
- var htmlText, htmlTextLength, i;
- htmlText = "<ul class='ambito-senators'>";
- htmlTextLength = $list.length;
- for (i = 0; i < htmlTextLength; i ++) {
- htmlText += '<li data-toggle="tooltip" data-original-title="' + $list[i].name + '<br/>' + $list[i].party + '" class="' + $list[i].className + '">' + $list[i].name + "</li>";
- }
- htmlText += "</ul>";
- document.getElementById($container).innerHTML = htmlText;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement