var buttonWithAttribute;
Array.prototype.forEach.call(document.getElementsByClassName("yt-uix-button"), function(button){
if(button.hasAttribute("data-channel-external-id"))
buttonWithAttribute = button;
})
console.log(buttonWithAttribute.getAttribute("data-channel-external-id"));
$(element).css('padding-top', parseFloat($(element).css('padding-top'))+ value);
backface-visibility
, которое можно выставить в hidden
window.location.hash = link;
connection.send
поставить внутрь connection.onopen
var chto_id = $(this).parent().attr('id');
var chto = $(this).parent();
var idExists = false;
$('.stol').each(function(){
if(this.id == chto_id){
idExists = true;
}
});
var pText = $(chto).find("#rectangle p").text();
var colText = $(chto).find("#fuel").text();
var horText = $(chto).find("span#horses").text();
if (idExists){
console.log("true")
} else {
$('.doska').append('<div class="stol" id='+chto_id+'> <div id="dosname"> </div> <div id="dosfuel"> </div> <div id="doshor"></div></div>');
};