私は使っている
$('.profile-block .first-name').text(profile_user.first_name)
テキストを設定するには
<h2 class="name">
<span class="first-name"></span>
<span class="last-name"></span>
</h2>
しかし、テキストはレンダリングされていません
私は iOS 7.0 とその Safari アプリを使用しています。
Web インスペクタを開いて、フォント サイズを変更するなどして要素を強制的に再レンダリングし、CSS の編集を開始すると、テキストが表示されます。
ノードに入れるソリューションを思いつきました
<span class="first-name"> </span>
その後、テキストがレンダリングされます....
なぜこうなった?