lundi 4 mars 2019

Ember jQuery selector

Can the below line of code fail or rather throw any JS error in any case (if any of the element in the hiearchy is not found)

Ember.$(".some-panel").closest(".other-panel").siblings("div[role='headline']").find(".some-text").html("Some title");




Aucun commentaire:

Enregistrer un commentaire