Grandstream GXV3140 GMI Guide User Manual
Page 38

Grandstream Networks, Inc.
GMI HTML SDK and API Guide
Page 38 of 43
www.grandstream.com
Last Updated: 09/2010
</
td
>
/******************************************************************************
* Change the input method by calling API function GMIEngine.
change_ime. At the
same time, use “chinput” to show the users what input method is being used after
the change.
******************************************************************************/
<
td
onclick="GMIEngine.chinput_method
(
'chinput',
cb_input_changed
)
;"
width
=
"
100px"
align
=
"center"
>
<
a
><
font
class
=
"softkey"
id
=
"chinput"
>
123
</
font
></
a
>
</
td
>
//Send message by calling the API function GMIEngine.message (acct, number,
msg, cb_message)
<
td
width
=
"100px"
align
=
"center"
onclick="message
(
document
.getElementById
(
'number'
)
.value,
document
.getElementById
(
'msg'
)
.value
)
;"
>
<
a
><
font
class
=
"softkey"
>
Send
</
font
></
a
>
</
td
>
<
td
onclick="GMIEngine.historypage
(-1)
;"
width
=
"100px"
align
=
"center"
>
<
a
><
font
class
=
"softkey"
>
Back
</
font
></
a
>
</
td
>
<
td
width
=
"40px"
>
</
td
>
</
tr
>
</
table
>
</
body
>