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 -> ASP

 Dynamically add class or ID to body or other object?

Print topic Send  topic

Author Message
Suntower

Posts: 225
Posted: 04/30/2018, 7:40 PM

I want to be able to add a class or ID to the body tag based on a variable I'll grab from the record in the user's database row when they log in. How can I do this?

Bonus question: Is there a CC function that can be used to do this -without- having to use the GUI? ( I am a registered CC user, but I'm working on a site that is using a newer version of SQL Server and I can't seem to get CC to fire up and connect to their site and the CC project without CC crashing. I'm hoping to be able to simply add a line or two of code without having to go through the GUI.)

Thanks in advance,
_________________
---On a campaign for more examples and better docs!
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.

Web Database

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.