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

New Member
Posts: 2
Registered: ‎04-13-2010
My Device: 9500

Current URL in blackberry 4.7 version ?

Hi everybody ,  can you help me to know the current url in blackberry 4.7 version.

Guru I
Posts: 16,229
Registered: ‎04-01-2008
My Device: BlackBerry Z30, Z10 and Q10 w/OS; PlayBook w/OS

Re: Current URL in blackberry 4.7 version ?

Can you be more specific?  We need more details.

1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!
Posts: 87
Registered: ‎02-26-2010
My Device: Bold 9000

Re: Current URL in blackberry 4.7 version ?

Oh I didn't notice you also created your own thread...


The same question I asked in the other thread is:


Are you using a widget?

Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Current URL in blackberry 4.7 version ?

Are you looking to find out the current address location of the current document loaded in the browser from JavaScript?


If so, you can simply check the "location.href" value in JavaScript.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter