我的網站下載框現在如何設置Java我的鏈接
<div class="linkdl">
<?php
$dl_320 =get_post_meta($post->ID, 'dl320', true);
?>
<?php if(!empty($dl_320)) { echo '<a href="'.$dl_320.'">Download MP3 </a>'; } ?>
</div>
如何設置代碼
<input id="button" type="submit" name="button" onclick="myFunction();" value="enter"/>
<script>
function myFunction(){
alert("You button was pressed");
};
</script>
你能澄清這個問題好嗎? – Scott