
Source code tích hợp bộ gõ tiếng Việt trong website bằng ASP.NET
by Tuan Nobitain ASP/ASP.NET on November 15, 2019Choose Your Desired Option(s)
Source code tích hợp bộ gõ tiếng Việt trong website bằng ASP.NET

Source code tích hợp bộ gõ tiếng Việt trong website bằng ASP.NET
Hướng dẫn cài đặt
các bạn copy file tải vè vào nguồn website mà bạn muốn nhúng vào. Sau đó, bạn hãy coppy đoạn code sau vào trong trang web của bạn:
<script language=”JavaScript1.2″ src=”vietuni.js” type=’text/javascript’></script>
<form name=”yourForm” method=”POST” action=”none”>
<textarea name=”Input” rows=”8″ cols=”50″ onkeyup=”initTyper(this);”>
</textarea><br>
<input type=radio name=”switcher” value=”OFF” checked onfocus=”setTypingMode(0)”>
Turn off VietTyping<br>
<input type=radio name=”switcher” value=”TELEX” onfocus=”setTypingMode(1)”>
Telex mode<br>
<input type=radio name=”switcher” value=”VNI” onfocus=”setTypingMode(2)”>
VNI mode<br>
</form>
trong cả trang web, chỉ cần một bộ nút tắt mở, chuyển kiểu gõ thì tất cả các ô text, ở mọi form, ở mọi vị trí đều có thể gõ được tiếng việt chỉ cần sự kiện onkeyup, mà cụ thể:onkeyup=”initTyper(this);”. Nếu muốn, bạn cũng có thể thay cách xử lí lập tức bằng xử lí toàn bộ. Có nghĩa là cứ viết xong toàn bộ rồi mới chuyển sang tiếng việt. Muốn vậy, bạn phải tạo ra một nút Button như sau:
<input type=”button” value=”Convert”
onclick=”convertAtOnce(document.formName.textAreaName); return false;”>
| Download Category | ASP/ASP.NET |
| Product Homepage URL→ | |
| Product Version | |
| File Type | JS, ASPX, XML, CS |
| File Size | 10 KB |
| Developer | |
| Documentation |





