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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:06:54+00:00 2026-05-27T17:06:54+00:00

I have a jsfiddle where the user opens a grid and selects an option,

  • 0

I have a jsfiddle where the user opens a grid and selects an option, after the user selects an option if they click on the “Add question” button, then it will display the option in a new table row.

As you can see in the new table row it shows the text box and the open grid link as well. I have done this because lets say you have added an option but then realise you have chosen the wrong option, I want the user to be able to click on the “Open Grid” link in whichever row is relevant and click on the option they prefer. So in other words I want the users to be able to select an option within a table row the exactly the same way as if they were choosing their options using the above feature before adding the option in a new row.

I am using the .on() function to do this but my problem is that if I try to open the grid in one of the outputted rows, it would not open the grid. So how can I get it so that the user can seelct an option from the table row like they do when selecting an option from the above feature.

My code is in jsfiddle, click here, if anyone does have an idea then feel free to use the fiddle to test your ideas.

Thank You

  • 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-27T17:06:54+00:00Added an answer on May 27, 2026 at 5:06 pm

    You need to replace

     $('.showGrid').on('click', function...
    

    with

     $(document).on('click', '.showGrid', function...
    

    to get .live()-like functionality. You also need to either change the .showGridRow class on your appended links to .showGrid, or make the following additional change:

     $(document).on('click', '.showGrid,.showGridRow', function...
    

    This leaves the problem that the ‘grid’ is popping up in the same place no matter where you click. I solved this by adding the following line to your ‘show” code:

            $('#optionTypeTbl').css({
                left: $(this).position().left,
                top: $(this).position().top + 20
            });
    

    http://jsfiddle.net/mblase75/f8cKm/15/

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

Sidebar

Related Questions

In my application the user opens up a grid and selects an option. After
I have a grid of buttons, lets say user opens up the grid and
I have a grid of buttons where if the user clicks on a button,
I have a grid of buttons where user opens up the gird by clicking
I have a hyperlink (open grid) where if user clicks on it it opens
I have 2 drop-down menus. User selects something from the first one, then the
I have created this simple JavaScript code that allows a user to click on
I have a jsfiddle http://jsfiddle.net/4Pc4B/10/ . In the jsfiddle, type in a question in
JSfiddle (showing the non-working code) here: http://jsfiddle.net/ts2Rr/ I have three boxes that a user
So I will have a list of items to check off. They could have

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.