Smart Badge user input

I'm working on a simple app for the Smart Badge that requires the user to input the URL to a server application I've written that can be ran on any machine. I intended to do this using the JavaScript prompt() function as below:


    var host = prompt("Please enter the host for app.", ""),         controller = new MyApp.MainController(".quiz", host);


The prompt is displayed fine on the device, but you cannot actually input any information as the SB1 doesn't have a physical keyboard and no software keyboard overlay appears. A blinking caret does appear within the prompt box, but other than that it does nothing.


Do I have to do something special to receive user input or is such a basic thing not possible?