search for: selecteditem

Displaying 2 results from an estimated 2 matches for "selecteditem".

2008 Jan 17
4
JSON query problems
I am constructing a JSON object that is an array of products. Using a select box, I want to find the object in the array that has an ID that matches the value from the selectedIndex of the select box and return the price. Here is the JSON script: var products = [{''ID'': 16378, ''Cost'': 100.00},{''ID'': 16377,''Cost'':
2007 Nov 16
1
drag & drop list needs refreshing
...d item_id = params[:id] session[:selected_items] = item_id render :partial => ''items'' end [/code] The other code is below [code] #view <div id="itemList"><%= render :partial => "item_list"%></div> <div id="selectedItems"><%= render :partial => "items" %></div> <%= drop_receiving_element "selectedItem", :update => "items", :url => { :action => "add_item_to_selected" }, :accept => "my_item", :loading => "Element.show(&...