<script type="text/javascript"> $('#map').append('<iframe width="320" height="330" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps/ms?msa=0&msid=211771423433858136502.0004a7b40e5cc6d2f0f96&ie=UTF8&ll=26.213359,127.680359&spn=0.012706,0.013518&z=15&output=embed"></iframe><br /><small>View <a href="http://maps.google.com/maps/ms?msa=0&msid=211771423433858136502.0004a7b40e5cc6d2f0f96&ie=UTF8&ll=26.213359,127.680359&spn=0.012706,0.013518&z=15&source=embed" style="color:#0000FF;text-align:left">โอกินาว่า</a> in a larger map</small>');</script>
trick นี้ใช้แทน
document.write();