+ 10
How do i display this --> ?
Hello to all at sololearn. I'm actually trying to create an HTML webpage on conversion between two languages. So, what i need to do is to create lots of buttons containing words in any one language. On clicking on a word containing button, I need the (same) button to show the translation of that word in the other language. what should I do about this? Any suggestions will be of great help.
5 odpowiedzi
+ 2
Basically you need something like this, I guess:
<button type="button" onclick="alert('hello');">bonjour</button>
It will call JavaScript alert function on click which will show you a dialog box with translation.
+ 10
@Ivan_G it worked! thanks
0
Use jQuery and boostrap
0
<INPUT TYPE="submit" value="(name)" alt="(meaning)" />
- 1
\?