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 725867
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:23:11+00:00 2026-05-14T06:23:11+00:00

I’m quite new to javascript but have undertaken a task to get better aquainted

  • 0

I’m quite new to javascript but have undertaken a task to get better aquainted with it. However, I am running into some problems with jQuery. The following javascript is the code that is in a third party jQuery plugin and I would love to be able to override the funFunction() function here to do my own implementation. Is this possible, if so, how can I do it? I’ve been doing a fair amount of searching and have tried a number of methods for overriding the function using things like:

jQuery.blah.funFunction = function() { alert("like this"); };

Main code:

(function($) { 
    $.extend( {
        blah: new function() { 
          this.construct =  = function(settings) {
              //Construct... stuff
          }; 
          function funFunction() {
            //Function I want to override
          } 
        } 
    });
})(jQuery);

For those further interested I am trying to override tablesorter so that the only way a user can sort a column is in ascending order only.

Edit:

There is a wordpress installation that uses WP-Table-Reloaded which in turn uses this plugin. I don’t want to change the core code for this plugin because if there was ever an update I would then have to make sure that my predecessor knew exactly what I had done.

I’ve been programming for a long time and feel like I should easily be able to pick up javascript whilst also looking at jQuery. I know exactly what I need to do for this, just not how I can override this function.

  • 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-05-14T06:23:11+00:00Added an answer on May 14, 2026 at 6:23 am

    The nice thing about jQuery is that if a plugin doesn’t quite do what you want, you can

    • Look for another plugin that does the same thing;
    • Grab the plugin, and if it’s GPL just fix it

    My experience is that most plugins are pretty good, but they’re not written by deities so sometimes there are problems or sometimes what you need just happens to be askew from what the designer anticipated.

    Now: you really should do some serious thinking about what you want to do and what your needs are, and as a newbie what sort of assumptions about the “right way to do things” that you’re bringing to the party. Every programming environment has its own personality, which often is almost a cultural entity. Things may seem weird, or bad, or ugly, but as an outsider you should suspend judgment until you get really used to all the idioms.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently running into a problem where an element is coming back from
link Im having trouble converting the html entites into html characters, (&# 8217;) i
this is what i have right now Drawing an RSS feed into the php,
I have just tried to save a simple *.rtf file with some websites and
Seemingly simple, but I cannot find anything relevant on the web. What is the
I want to count how many characters a certain string has in PHP, but
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I need to clean up various Word 'smart' characters in user input, including but
Does anyone know how can I replace this 2 symbol below from the string
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out

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.