Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Javascript Prompt

Hi,

I've seen it in apps, but can't find how to do it with titanium. How do I create an alert box, with an input? Essentially a javascript prompt. I need to ask the user for a value, but don't want to create a new view/window for it. Is there a way to do this with titanium?

Thanks

— asked November 6th 2010 by Connor Zwick
  • alert
  • prompt
2 Comments
  • What platform are you using?

    — commented November 7th 2010 by Paul Dowsett
  • what about iOS platform?

    — commented February 17th 2011 by zelda soraya

3 Answers

  • I think you'll have to fake one.

    — answered November 6th 2010 by Dan Tamas
    permalink
    1 Comment
    • so in appcelerator can't use prompt??

      — commented February 17th 2011 by zelda soraya
  • How would I do that than? Anyone know?

    — answered November 7th 2010 by Connor Zwick
    permalink
    0 Comments
  • create a transparent webview and use the actual js prompt onwindowload seems to work

    — answered October 3rd 2011 by Brian Huenefeld
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.