IME Consecutive Input code for Samsung TV -


i need create login panel in samsung tv app. in ux guide, can see consecutive input can solve problem.

this ux guide referred. http://www.samsungdforum.com/uxguide/2014/05_text_input.html#ux-05

this current code

    <form name="xxx" id="xxx">     <label for="username">username : </label>     <input type="text" name="username" id="username" maxlength="15" required />     <label for="password">password : </label>     <input type="password" name="password" id="password" maxlength="10"   required />     <input type="button" id="uvsubmit" value="enter" name="submit" />   </form>     // js     var imebox = new imeshell_common();      document.getelementbyid('username').focus();     imebox.onshow(); 

have done before.?

hope can assist me solve this.

thanks in advance

even though consecutive input introduced in ux guide, there no api consecutive input.

but can make code similar consecutive input.

http://www.samsungdforum.com/guide/ref00006/common_popup_ime.html

by imebox.oncompletefunc, make focus consecutive

ex:

function oncompletetext(arg){      if(imebox.inputboxid == 'username'){          document.getelementbyid('password').focus();           imebox.onshow();      }  }   imebox.oncompletefunc = oncompletetext; 

Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -