Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Access style properties(custom) from style object in Firefox



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> JavaScript Forum
View previous topic :: View next topic  
Author Message
jangomovies



Joined: 26 Apr 2008
Posts: 1

PostPosted: Sat Apr 26, 2008 11:34 am    Post subject: Access style properties(custom) from style object in Firefox Reply with quote

Hi,

I am making use of the style object in HTML like style={currency:1;upperCase=true}.
I access this in the Javascript for validation using form.element.style.currency etc etc.

In IE in works fine and I have no issues.
However, in Firefox/Mozilla, I am getting the value as 'undefined' and hence all my validations fail.

I tried to modify the code to use form.element.getAttribute('style'). But still I am not able to read the properties currency & uppercase.


I have not been able to find a solution for this.
Any help is highly appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> JavaScript Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap