0
我有這個jquery代碼,我希望每次點擊按鈕時都會換行打印。jquery在換行上打印
<script language="javascript">
$('.example-default-value').each(function() {
var default_value = this.value;
$(this).focus(function() {
if (this.value == default_value) {
this.value = '';
}
});
$(this).blur(function() {
if (this.value == '') {
this.value = default_value;
}
});
});
function example_append() {
$('#step').append($('#example-textarea'+ /n).val());
}
</script>
爲什麼總是快一些之一,那麼我:) – Grrbrr404 2011-12-22 09:50:46
感謝理查德奏效 – Inkey 2011-12-22 10:01:05