私が使用する場合:
jQuery(document).ready(function() {
console.log($(this));
});
次に、コンソールにオブジェクトがあります:
[Document mypage.html#weather]
この最後の ID を取得するにはどうすればよいですか? この例では#weatherです。たとえば、セレクターでアラート#weatherを使用したい$(data_from_console + '.add').val();