escape

文字をエスケープ

構文

escape(string)

例文

<html>
<head>
<title>escape</title>
</head>

<body>

<!--文字をエスケープのサンプル-->
<script type="text/javascript">
document.write(escape("http://www.yahoo.co.jp/")+ "<br>");
document.write(escape("&/?:@#=,+$"));
</script>

</body>
</html>

関連記事

スポンサーリンク

line-heightが指定された要素内でvertical-alignの%値指定が正しく反映されない

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る