Grandstream GXV3140 GMI Guide User Manual
Page 30

Grandstream Networks, Inc.
GMI HTML SDK and API Guide
Page 30 of 43
www.grandstream.com
Last Updated: 09/2010
<
tr
>
<
td
>
<
input
type
=
"radio"
name
=
"myvote"
value
=
"6"
><
font
class
=
"voteitem"
>
Onli
ne Music
font
>
td
>
<
td
>
<
input
type
=
"radio"
name
=
"myvote"
value
=
"7"
><
font
class
=
"voteitem"
>
Onli
ne Video
font
>
td
>
tr
>
<
p
align
=
"center"
><
input
type
=
"submit"
value
=
"Submit"
name
=
"vote"
id
=
"v
otesub"
style
=
"display:none"
>
p
>
table
>
form
>
fieldset
>
td
>
tr
>
table
>
/******************************************************************************
* Draw the softkey in html
******************************************************************************/
<
table
id
=
"softkey"
>
<
tr
width
=
"100%"
>
<
td
width
=
"40px"
>
td
>
<
td
width
=
"100px"
align
=
"center"
>
<
a
href
=
"myvote.php?vote=1"
style
=
"text-decoration:none;"
><
font
class
=
"soft
key"
>
View Result
font
>
a
>
td
>
<
td
onclick="GMIEngine.refresh
()
;"
width
=
"100px"
align
=
"center"
>
<
a
><
font
class
=
"softkey"
>
Refresh
font
>
a
>
td
>
<
td
width
=
"100px"
align
=
"center"
onclick="
document
.getElementById
(
'votesub'
)
.click
()
;"
>
<
a
><
font
class
=
"softkey"
>
Submit
font
>
a
>
td
>
<
td
onclick="
GMIEngine.historypage
(-1)
;
"
width
=
"100px"
align
=
"center"
>
<
a
><
font
class
=
"softkey"
>
Back
font
>
a
>
td
>