Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
只是想知道,是否有按钮功能可以在 svg 中创建和添加/删除标签?
非常感谢您的帮助!
这可能会有所帮助:
$('#button').click(function() { var permalink = $("#image_file_input_field").val(); $('#svg').html("<div><img src=" + permalink + "></div>'); });