beautypg.com

Grandstream GXV3140 GMI Guide User Manual

Page 37

background image

Grandstream Networks, Inc.

GMI HTML SDK and API Guide

Page 37 of 43

www.grandstream.com

Last Updated: 09/2010

<

body

onload="bind_tab

()

;number_focus

()

;"

onunload="unbind_tab

()

;"

onkeydown

="softkey_process

(

event

.keyCode

)

;"

class

=

"normal-body"

>

<

table

id

=

"myvote-table"

>

<

tr

>

<

td

>

Status:

td

>

<

td

>

<

font

id

=

"status"

color

=

"yellow"

>

Input number and message, then press

Send

font

>

td

>

tr

>

<

tr

>

<

td

>

Number:

td

>

<

td

>

<

input

type

=

"text"

id

=

"number"

>

td

>

tr

>

<

tr

>

<

td

>

Message:

td

>

<

td

>

//When there are keypad events in the textarea, obtain the length of textarea and

display it in msgstatus.

<

textarea

cols

=

"45"

rows

=

"10"

id

=

"msg"

onkeydown="message_body

()

;"

>

te

xtarea

><

font

id

=

"msgstatus"

color

=

"yellow"

>

0/256

font

>

td

>

tr

>

table

>

<

table

id

=

"softkey"

>

<

tr

width

=

"100%"

>

<

td

width

=

"40px"

>

td

>

<

td

width

=

"100px"

align

=

"center"

>

<

a

><

font

class

=

"softkey"

>

Backspace

font

>

a

>