Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dynamically changing the class attribute of TD

 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi guys,

How to change the Class attribute of the TD dynamically.

I don't want to use any Scriptlets.

Please suggest me your ideas.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
The term scriptlets is usually used in conjunction with JSPs, which are a server-side technology, and have nothing to do with what happens on the client side.

If by "scriptlet" you mean "JavaScript", then you're out of luck - without JS, nothing dynamic will happen in the browser.
 
Mahendran Aiyappan
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi Ulf Dittmer,

Thanks for your response.

Actually i said about the JSP scriptlets only.

I don't want to do it using Java Script, since the dynamic should be done based on the values present in the database.

Anyway I thing this question should be moved to Server side Programming.

So I will post it there.
 
    Bookmark Topic Watch Topic
  • New Topic