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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T14:44:02+00:00 2026-06-01T14:44:02+00:00

I have this part of code in my functions.php: function cc_admin_enqueue_scripts($hook) { $file_dir=get_bloginfo(‘template_directory’); wp_enqueue_script(‘media-upload’);

  • 0

I have this part of code in my functions.php:

function cc_admin_enqueue_scripts($hook) {
    $file_dir=get_bloginfo('template_directory');
    wp_enqueue_script('media-upload');
    wp_enqueue_script('thickbox');
    wp_enqueue_script( 'farbtastic' );
    wp_register_script('my-upload', $file_dir."/functions/scripts/rm_script.js",array('jquery','media-upload','thickbox','farbtastic'));
    wp_enqueue_script('my-upload');
    wp_enqueue_script('tablednd', $file_dir.'/functions/scripts/jquery.tablednd.js', array('jquery'), '0.5');
    wp_enqueue_script( 'jquery-ui-tabs' );
    wp_enqueue_script( 'jquery-ui-sortable' ); 
    wp_enqueue_script( 'jquery-ui-droppable' );
    wp_enqueue_script( 'jquery-ui-draggable' );
}
add_action('admin_enqueue_scripts', 'cc_admin_enqueue_scripts');

Everything works fine. The rm_script javascript works ok, except I got this error notification in IE:

Object doesn’t support this property or method rm_script.js line 290

in the rm_script.js line 290:

(this is where line 290 starts:)

jQuery(".table_sort").tableDnD({
    onDragClass: "myDragClass",
    onDrop: function(table, row) {
    var $multitable_wrap = jQuery('.table_sort .multitable');
    $multitable_wrap.each(function(i) {
    var $current_sub_table = jQuery(this);
    $current_sub_table.find('.correct_num').each(function(){
    var $newname = jQuery(this).attr('name').replace(/\d+/,i);
    jQuery(this).attr({'name': $newname,'id': $newname});
        });});},
    onDragStart: function(table, row) { }
});

the jQuery(“.table_sort”).tableDnD is the source where I got an error. If I delete it, it works just fine, but I need it to support my javascript function.
I’ve declared the jquery.tablednd.js, but somehow .tableDnD function couldn’t be loaded.

  • 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-01T14:44:04+00:00Added an answer on June 1, 2026 at 2:44 pm

    It’s apparently a jquery load problem.
    Fixed!

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

Sidebar

Related Questions

We have this anonymous function in our code, which is part of the jQuery's
In one PHP file, I have this code: require_once $_SERVER['DOCUMENT_ROOT'] . '/custom/functions.php'; global $testVar;
I have this code to run a slideshow (this is only part of what
So I have a program which runs. This is part of the code: FileName
I have this part of the function : $jQ('.product-collateral .product-tabs li').each(function(index){ $jQ(this).attr('id', $jQ(this).find('h3').attr('class')); if(index
I have this mysql query using PHP and first part is working fine, but
I'm a PHP newbie, so I have a minor problem functions. I have this
I have the following in php: public function myfunction($v){ //ini_set(memory_limit,32M); $v=mysqli_real_escape_string($this->connection,$v); $stmt=mysqli_prepare($this->connection,SELECT * from
I have this php code that should take all the php files in a
I have made this code(it is a part of my whole script) -- if(unset($_SESSION['USER_ID']))

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.