LoneXcoder
LoneXcoder

Reputation: 2163

jQuery ui, passing parameters to another function

this one should be simple ,

in this JsFiddle (the link below, it's my first JsFiddle setup , great tool!),

I am trying to implement a new jQuery ui : draggable, droppable and sortable list , so this gui will be the setup of my new custom made : Sql CRUD via Ajax Capable - GridView

This fiddle shows the first stage, where user selects a table to work with .

what I need to know is, ( i lack experience both jquery + ui)

... how do I pass the results of chosen list items to next stage(new function) ?

I'll be happy if someone with free time could help on this thanks.

Link1 : project-result - JQuery Ui

Link2 : Fiddle - http://jsfiddle.net/rhW7C/46/

Upvotes: 2

Views: 124

Answers (1)

Murali Murugesan
Murali Murugesan

Reputation: 22619

Instead of keeping those in a hidden field, you can keep add in some Javascript object array. That could be passed as a parameter.

Ex:

 var omittedItems=[];
 //check if the object already exists if not push
 omittedItems.push('yourobject');

Upvotes: 1

Related Questions