search for: item_2

Displaying 15 results from an estimated 15 matches for "item_2".

Did you mean: item2
2006 Jan 20
1
Update HTML Element with Ajax
...; <%= item.name %> <%= item.body %> </li> edit.rjs ------------------------ page.replace_html @item.id, :partial=>''item'' if I call /items/list I will get <ul id="items"> <li id="item_1">...</li> <li id="item_2">...</li> ... </ul> And wenn I edit first item I will get <ul id="items"> <li id="item_1"><li id="item_1">...</li></li> <li id="item_2">...</li> ... </ul> Sure I can controll it in...
2007 Nov 02
3
script.aculo.us: onUpdate in Sortable.create
Can''t seem to get the onUpdate to work in for a sortable list. I am following the documentation and the included functional tests but nothing is firing for me. Any idea why? Sortable.create(''list1'', { tree:true , onUpdate:function(sortable){ alert(''onUpdate'') } , handle: ''handle'' , scroll:window ,
2006 Jun 04
3
Data manipulation from a database
Say, for example, I have this in my db: id name date 1 Item_1 feb-19 2 Item_2 feb-20 and I want to manipulate it so that the view can output this: feb-19: Item1 feb-20: -- Posted via http://www.ruby-forum.com/.
2006 Jan 30
5
RE: sortable list question
Assuming that $(ids[i]) is the hidden input field, wouldn''t the following line need to reference it as a form element? > $(ids[i]).innerHTML = i; I would assume it should be (the "'''' + " makes it a string, not sure if you can set a form element value to an int, maybe you can): $(ids[i]).value = '''' + i; Or maybe I''m not
2006 Jan 24
8
scriptaculous sortable
Hi, maybe I am using this the wrong way but I have a list as follows <ul id="secondlist"> <li>bla bla</li> <li> bla bla </li> </ul> and then I add dynamically further <li> elements and create a Sortable but the onUpdate only fires for <li> items that have not been created via Javascript. Any clues? <script
2006 May 30
1
sortable_element does not initiate AJAX calls
Having an odd problem with sortable_element. The :url option doesn;t seem to actually work. No AJAX calls are being generated. I can tell because Firebug extension does not show any AJAX requests, and the development.log file does not do anything when droppping the items in new positions. Here is the code I am using for sortable generation: <%= sortable_element
2006 Jun 14
0
Bad behaviour in Internet Explorer
Hello, I''m using scriptaculous and it is great but they are very slow and don''t show the element when I drag it in IE6. Someone know something about drag and drop in IE? I''m using the latest version, 1.6 The code is: <div id="list[1]" > <div id="item_2" onclick="CSSUtils.show(''list[2]'')">Obras <div id="list[2]" class="hidden"> <div id="item_1306" >&nbsp;&nbsp;&nbsp;Studio</div> <div id="item_1307" >&nbsp;&nbsp;&nbsp;Casa do...
2006 Feb 14
5
problem with sortable lists and IE
...width:250px; } #list li { margin:0; margin-bottom:4px; padding:5px; border:1px solid #888; cursor:move; } </style> <ul id="list" style="padding: 2px"> <li id="item_1">one</li> <li id="item_2">two</li> <li id="item_3">three</li> <li id="item_4">four</li> <li id="item_5">five</li> <li id="item_6">six</li> <li id="item_7">seven</li> </ul> <p id="li...
2017 Aug 30
1
Dataframe Manipulation
...lp me > . > > Note* the file I'm attaching is very confidential > > On 30 August 2017 at 15:02, Ulrik Stervbo <ulrik.stervbo at gmail.com> wrote: > >> Hi Hemant, >> >> Does this help you along? >> >> table_1 <- textConnection("Item_1;Item_2;Item_3 >> 1KG banana;300ML milk;1kg sugar >> 2Large Corona_Beer;2pack Fries; >> 2 Lux_Soap;1kg sugar;") >> >> table_1 <- read.csv(table_1, sep = ";", na.strings = "", stringsAsFactors >> = FALSE, check.names = FALSE) >> >>...
2006 Jul 28
12
MenuEngine
Hi all, MenuEngine is a small Rails engine that can generate templated drop-down DHTML menus commonly used for web site navigation. Supports creation of menus from a YAML file, from code and from pre-configured HTML. Optionally integrates with UserEngine for authorization. http://www.muermann.org/ruby/menu_engine Project page: http://rubyforge.org/projects/menuengine This is my first attempt
2017 Sep 04
1
Dataframe Manipulation
...gt;>> >>> On 30 August 2017 at 15:02, Ulrik Stervbo <ulrik.stervbo at gmail.com> >>> wrote: >>> >>>> Hi Hemant, >>>> >>>> Does this help you along? >>>> >>>> table_1 <- textConnection("Item_1;Item_2;Item_3 >>>> 1KG banana;300ML milk;1kg sugar >>>> 2Large Corona_Beer;2pack Fries; >>>> 2 Lux_Soap;1kg sugar;") >>>> >>>> table_1 <- read.csv(table_1, sep = ";", na.strings = "", >>>> stringsAsFactors...
2017 Aug 31
0
Dataframe Manipulation
...39;m attaching is very confidential >> >> On 30 August 2017 at 15:02, Ulrik Stervbo <ulrik.stervbo at gmail.com> >> wrote: >> >>> Hi Hemant, >>> >>> Does this help you along? >>> >>> table_1 <- textConnection("Item_1;Item_2;Item_3 >>> 1KG banana;300ML milk;1kg sugar >>> 2Large Corona_Beer;2pack Fries; >>> 2 Lux_Soap;1kg sugar;") >>> >>> table_1 <- read.csv(table_1, sep = ";", na.strings = "", >>> stringsAsFactors = FALSE, check.names = F...
2005 Sep 23
1
Sortable list with Ajax and delete function - working example
Hi. I read most of the postings here but unfortunately I didin''t found a complete example which could be used. Of cource the ones who are professionals in javascript could implement the missing peaces from the puzzle. What I''m required to do is a tree (sortable list) where items can also be deleted and at each modification a function (ajax) is called to save the changes. For
2017 Aug 30
3
Dataframe Manipulation
Hey PIKAL, It's not a homework neithe that is the real dataset i have signer NDA for my company so that i can share the original data file, Actually I'm working on a market basket analysis task but not able to convert my existing data table to appropriate format so that i can apply Apriori algorithm using R, and this is very important me to get it done because I'm an intern and if i
2017 Aug 30
2
Dataframe Manipulation
...upposed to fill as NA. please help me with R or C/c++ code( R would be preferred) here I?m attaching you all three tables for better reference i have first two tables and i want to get a table like table 3 Tables are explained in the attached doc Table 1 : Item_1 Item_2 Item_3 Item_4 T1 1KG banana 300ML milk 1kg sugar NA T2 2 Large Corona Beer 2 pack Fries NA NA T3 2 Lux Soap 1kg sugar Na Na Table 2 :...