CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 HTML ID and NAME properties

Print topic Send  topic

Author Message
marcwolf


Posts: 361
Posted: 03/16/2005, 4:01 PM

I've dropped this in the wish list but on refelction thought that I might get a better response here :/

We do a lot of Javascript coding on our pages.

Now when CCS creates a control - it set up the HTML NAME property but not the ID property.

With many cross browser issues we need to use the getelementbyID() function i.e.

  
var styles = document.getelementbyID('ClientAbbrv').getattribute('className')  
styles = styles + '_changed'  
document.getelementbyID('ClientAbbrv').setAttribute('className') = styles  


We use the above for something like marking a control when its contents has been changed by the user so to warn before exiting a page without submitting, Yes - we also use CSS a lot too



Unless one has the ID - this does not works, and it is not easy to use the NAME function as there is few JS functions that use it.

Any chance of a fix/enhancement

Dave
_________________
' Coding Coding Coding
Keep Those Keyboards Coding.
Raw Code!!!!!!!
View profile  Send private message
peterr


Posts: 5971
Posted: 03/17/2005, 12:23 AM

I saw your wish Dave in the other forum. It was the right place to post.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.