Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Developer
dna2003
Posts: 6
Registered: ‎02-11-2010
My Device: Curve 8530

GPS - Javascript Pop-Up

I know there are multiple posts about this in the forum, BUT - is there anyway to actually capture the Yes or No answer to the javascript pop-up requesting the location of the device?

 

A Javascript has requested the physical location of your device.  Do you wish to provide this to the script?

 

Essentially what I need is when the user answers No - to timeout the script.  Right now there is a timeout, but it does not fire.

 

Let me know,

-Darren

Please use plain text.
New Developer
dna2003
Posts: 6
Registered: ‎02-11-2010
My Device: Curve 8530

Re: GPS - Javascript Pop-Up

Nevermind...apparently I had a small Javascript problem with my setTimeout.

 

Now - it takes 20 seconds to get the timeout & then the script expires once a user responds.

Please use plain text.