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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:53:34+00:00 2026-05-18T23:53:34+00:00

Hoping someone can give me a hand here…. I have the DataTables jquery plugin

  • 0

Hoping someone can give me a hand here….

I have the DataTables jquery plugin set up to return HTML within the json data coming back from the server. An example of a row’s data looks like this:

["<input type='checkbox' id='2' />","<img src='images/playbtn.png' width='24' height='24' /><a href='javascript:void(0)' onClick='openDialog(0)'>oK5ktqWTOsiyP5wH75tFj2yIY8XprWOwB</a>","11/18/2010 08:16:28 PM","juan j","juan j","incoming","00:02:38","","<img src='images/share.png' class='tableimage' title='Share Call With Friends' /> <img src='images/download.png' class='tableimage' title='Download Call' /> <img src='images/page_edit.png' class='tableimage' title='Edit Call Info' /> <img src='images/trash.gif' class='tableimage' title='Delete Call' />"]

The display is working just fine and all the data is coming back nicely.

The purpose of the first tag is to open a jquery dialog window. I have set the jquery properly and I know that it is written correctly. However my problem is that when I click on the link within the cell of the DataTable nothing happens and I see “Security error” code: “1000” in firebug, the alert that I put in the function is not even firing. I do not know what this error means but at first I thought that it was a result of having a lot of div’s on the page but I then made a quick example of a page with only the grid on it and the div that is meant to come up as the dialog box..that too did not work. Does anyone know why this kind of error would be triggered by the DataTable?

Thanks!

  • 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-18T23:53:35+00:00Added an answer on May 18, 2026 at 11:53 pm

    I don’t know why you’re getting this security error code, but one thing you can try instead of adding inline JavaScript inside the table cell is to attach a click event handler on the table and use event delegation to handle the event. Here’s an example:

    $('table').delegate('a', 'click', function(e) {
    
        openDialog(0);
    
        // note: 'this' is the 'a' DOM element, so you can do additional things with it.  For example:
        var $a = $(this);
        var href = $a.attr('href');
        // now do something with href
    
    });
    

    I’ve been using this technique with DataTables and it works well.

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

Sidebar

Related Questions

Here's hoping someone can give me a hand will a small JavaScript issue I'm
I'm hoping someone here can give me some guidance. I'm working on a project
I'm hoping someone has run into this sort of problem before, and can give
Hoping someone can clear this up for me. Let's say I have 2 globals:
im hoping someone can help me quickly with a question i have. As site
I'm hoping someone can help on this one, I have created a custom object
I am hoping someone out there can give me help with this. So I
everyone. I have an advanced T4 question and I'm hoping someone can help. I've
I'm setting up a swimwear catalog and I'm hoping someone can give me some
My project has required this enough times that I'm hoping someone on here can

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.