BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-28-2007, 10:25 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2007
Location: New Zealand
Model: 8320
Carrier: Vodafone NZ
Posts: 23
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question A strange javascript issue..?

Please Login to Remove!

ok, one more quickie just in case this is a known issue.. (I'll try not be a nuisance after this) so I'm working away on my BB web application, I have created a composite server control with a couple of elements which postback using the standard onclick events.

The postbacks work perfectly when using my 8320 on my WiFi network and browsing to my development machine which is on the local LAN, as soon as I try browsing to the same app on a remote server I get "javascript: An error occurred while executing a script" whenever I click one of the links that postback.

I can use the web app on the same remote server via IE and it works as expected.

Sooo.. does this ring a bell for anyone? same code, different server..

TIA!
Bruce
Offline  
Old 11-29-2007, 02:56 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Nov 2007
Location: New Zealand
Model: 8320
Carrier: Vodafone NZ
Posts: 23
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Nevermind!

so I feel a bit stupid.. I did not realize I had to also register the blackberry.browser file on the test server (I had already done this on my development server), having done that it all works a treat.

So, .NET ships with 28 browser definitions but forgets to include BlackBerry - conspiracy?

Cheers,
Bruce
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.