<html> <head> <title>SVG</title> <script src="jquery.js"></script> <script type="text/javascript" src="q4.js"></script> </head> <body> <p id="svg">IGF</p> <input type="button" value="テスト" onClick="paint()" /> </body> </html> function paint(){ var str; str="<svg><circle cx=\"170\" cy=\"180\" r=\"100\"/></svg>" $("#svg").html(str); }