BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-18-2005, 11:52 AM   #1 (permalink)
New Member
 
Join Date: Aug 2005
Location: Montreal
Model: 7250
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with javascript!

Please Login to Remove!

Hi!

I am a newbie in the blackberry world, usualy I program asp applications.

Now, I need to change some pages to fit into the blackberry browser. Everything is working fine except for some javascript code that use to work fine on IE and on Netscape but not Blackberry.

Here is my function, a simple enable/disable thing:

HTML Code:
function fctShowMB(val,d){	
      if (val==1){
          d.frm.selMb.disabled=true;
          d.frm.inpTech.disabled=false;
          d.frm.inpTech.focus();
      }
      else{
          d.frm.inpTech.disabled=true;
          d.frm.selMb.disabled=false;
          d.frm.selMb.focus();
      }
}
NB: d= document.form

Can somebody help me with this one please?

Thank you!

Genviou
Offline  
Old 08-18-2005, 06:00 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Aug 2004
Location: Metro NYC
Posts: 175
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't know about your specific question, but I can tell you the BlackBerry does *not* offer full support for JavaScript or DOM.
__________________
-- Aric Rosenbaum
BlackBerry consulting, BlackBerry development
www.arconsultinginc.com
BlackBerry consulting and development (RIM SI Partner)
Offline  




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