aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes I want my options and answers in my table row to match the functionality (Jsfiddle)? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "I want my options and answers in my table row to match the functionality (Jsfiddle)?" Watch "I want my options and answers in my table row to match the functionality (Jsfiddle)?" New topic
Author

I want my options and answers in my table row to match the functionality (Jsfiddle)?

Carl Brooks
Greenhorn

Joined: Dec 24, 2011
Posts: 2
Hi,

This is first time I am using the Big Moose Saloon Forums so Hello to everybody. My question is this:

Follow these steps in my fiddle to create an option an answer

Step 1: Open grid, select an option or couple of options to see how it works. Then type in a number in the Number of Answers textbox. This determines how many answer buttons you can select below. So if you typed in 2 then you can only select 2 buttons, any more and it comes with an alert.

Step 2. Click on the "Add Question" button, You will see the same features in the table row showing the option and answers you have selected. Now imagine if you wanted to change the option or answer, it requires the same functionality as the option and answer feature above. Also my "Answer" column in the table is incorrect as it should show all of the buttons within the option showing the buttons selected (the same as above in the fiddle)

does this require me to duplicate the functions, or do I need to use the .on() function to create a handler for each row?

Please use the fiddle to test your coding to see if it works before posting in an answer.

Full code in fiddle, click [here][1]


[1]: http://jsfiddle.net/C443c/53/
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: I want my options and answers in my table row to match the functionality (Jsfiddle)?
 
Similar Threads
Book GUI - URLyBird
how to create a new datatable on rowclick from another datatable
IBM Exam 157 - Questions and Answers (Sample Exam)
157 Question Help and Resourses
Trigger Undo from Javascript?