Phempt Posted October 11, 2014 Share Posted October 11, 2014 Hello guys, is there the possibility to place a text area in PandaJS in order to save some input from the user? (for example nickname for highscore) Quote Link to comment Share on other sites More sharing options...
Stephan Posted October 12, 2014 Share Posted October 12, 2014 No there isn't. A textarea is a native DOM object and Panda is rendered on the canvas which doesn't allow these kind of objects. There are however ways to capture user input nevertheless. If you are using the ConcoonJS, you could use the Dilalog plugin: http://doc.ludei.com/3.0.0/Cocoon.Dialog.htmlIt is a platform independant solution and it also works on tablets. Alternatively (for browser environment) you could use the prompt command: http://www.w3schools.com/js/tryit.asp?filename=tryjs_prompt Quote Link to comment Share on other sites More sharing options...
Phempt Posted October 12, 2014 Author Share Posted October 12, 2014 Unfortunately I don't use CocoonJS, I'm using Phonegap. I'll try to create something for this wrapper. Thank you for your answer! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.