TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mukund Narayan Jha
NA
440
3.2k
Marathi typing in textbox in asp.net mvc5
Oct 28 2016 3:18 AM
I am working on asp.net website.In that I used google translator for translating English to Marathi in textbox and it is working fine, But the problem is it translating when I type something and give tab or space . I want is, when I am typing in textbox that time only it should be translated.
Below Code That i am using.
<script type="text/javascript" src="https://www.google.com/jsapi"></script>
<script type="text/javascript">
// Load the Google Transliterate API
google.load("elements", "1", {
packages: "transliteration"
});
function onLoad() {
var options = {
sourceLanguage:
google.elements.transliteration.LanguageCode.ENGLISH,
destinationLanguage:
[google.elements.transliteration.LanguageCode.MARATHI],
shortcourtkey: 'ctrl+e',
transliterationEnabled: true
};
// Create an instance on TransliterationControl with the required
// options.
var control = new google.elements.transliteration.TransliterationControl(options);
// Enable transliteration in the textbox with id
// 'transliterateTextarea'.
control.makeTransliteratable(['FirstName']);
}
google.setOnLoadCallback(onLoad);
</script>
Reply
Answers (
1
)
next and previous pagination link in asp.net
Send Email With IMAP