Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9229953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:42:05+00:00 2026-06-18T05:42:05+00:00

How can i change this function which is currently appending a CSS class to

  • 0

How can i change this function which is currently appending a CSS class to a div on HTML

if (!this.sortDisabled) {
        var $th = $(this).addClass(table.config.cssHeader);
        if (table.config.onRenderHeader) table.config.onRenderHeader.apply($th);
}

to make to append this instead of adding class “table.config.cssHeader”

'&nbsp<font face="webdings">6</font>'

So my question explained is how can i get this

if (!this.sortDisabled) {
    var $th = $(this).addHTMLCODE(&nbsp<font face="webdings">6</font>);
    if (table.config.onRenderHeader) table.config.onRenderHeader.apply($th);
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T05:42:06+00:00Added an answer on June 18, 2026 at 5:42 am

    It looks like you’re using jQuery. You’re pretty close; instead of addHTMLCODE, you need append, and you also need to quote the HTML:

    var $th = $(this).append('&nbsp<font face="webdings">6</font>');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can't seem to get jQuery to change my css. In my css file this
This is a slightly odd one, note I can't change the HTML as it's
(r'^/(?P<the_param>[a-zA-z0-9_-]+)/$','myproject.myapp.views.myview'), How can I change this so that the_param accepts a URL(encoded) as a
Im killing the process in the port 4444, but this can change, i have
How i can change the color with gradient??? I have this now,but is different
from this code will show in original color how can i change it to
how can i change the default border color of GWT TextBox. i tried this
If I have this float array declaration: float tables[10]; How can I change the
First of all, this solution is no option for me, because I can't change
Can't work this out... I've got a .change event handler for multiple select boxes.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.