Code tạo hộp kiểm tra code

1 222 0
Code tạo hộp kiểm tra code

Đang tải... (xem toàn văn)

Thông tin tài liệu

<div class="content"> <table style= "width:225px;border:solid 1px #959492;background:#ebebea"> <tr> <td valign="top" style="padding: 10px" background= "http://i9.glitter-graphics.org/pub/1028/1028479ssdyfudbye.gif"> <form name="form1" method="post"> <textarea name="code" wrap="soft" onclick="focus(this.code)" style= "border:solid 1px #b9b8b6;padding:5px;width:225px;height:300px;scroll:auto;"> Các bạn copy và dán code vào đây (Nhớ xóa dòng chữ này đi nhé!) </textarea></form> </td> <td valign="top" style="padding: 10px" background= "http://i9.glitter-graphics.org/pub/1028/1028479ssdyfudbye.gif"> <iframe src="about:blank" name="preview" style= "height:300px;width:225px;border:solid 1px #b9b8b6;padding:5px;background:#ffffff" frameborder="0"></iframe></td> </tr> </table> <center><button onclick= "preview.document.write (document.getElementsByTagName ('TEXTAREA')[0].value); preview.document.close(); preview.focus()"> Xem trước</button><button onclick= "window.document.form1.code.value='';preview.document.write (document.getElementsByTagName ('TEXTAREA')[0].value); preview.document.close(); preview.focus()">Xoá tất cả</button><button onclick= "window.location.href=window.location.href">Làm lại</button></center> <b>Cột phải sẽ không hiển thị nếu code của bạn bị lỗi, khi đó bạn hãy sửa lại code ngay tại khung bên trái !Chương trình ứng dụng chính xác cho các loại mã JavaScript; HTML. Chúc bạn luôn thành công !</b></div> . method="post"> <textarea name=" ;code& quot; wrap="soft" onclick="focus(this .code) " style= "border:solid 1px #b9b8b6;padding:5px;width:225px;height:300px;scroll:auto;">. lại</button></center> <b>Cột phải sẽ không hiển thị nếu code của bạn bị lỗi, khi đó bạn hãy sửa lại code ngay tại khung bên trái !Chương trình ứng dụng chính

Ngày đăng: 26/09/2013, 03:10

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan