ソース コードから JavaScript コードを非表示または暗号化しようとしています。
私のコードは:
<script type="text/javascript">
function getValue() {
return "<?php echo "ab"; ?>";
}
</script>
</head>
<body>
<form name="form">
An input field:
<input type="text" name="input">
<input type="submit" name="submit">
</form>
<script type="text/javascript">
document.form.input.value = getValue();
</script>
助けてください。