search for: answer_

Displaying 5 results from an estimated 5 matches for "answer_".

Did you mean: answer
2011 Mar 28
0
Token Poken :( I'm stuck with this
...only once.. How can i do this? Iand i can give him link, and link should be like : localhost:3000/token .. he gets on this link, answer and click go and that''s all. If he want to get on this page once again he will get message something like "Sorry bro you already passed quiz". #answer_controller.rb class AnsweController < ApplicationController layout "default" $all_questions_archive = Question.count(''id'') $all_questions_active = Question.find(:all,:conditions=>"enabled=1").count def create @w1 = rand(9999999) @w = Dige...
2005 Oct 31
2
Inplaceeditor and a tooltip on mouserollover?
...ltip inside this div on mouseover. Specifically, when a user is over editable text, besides the yellow background, I want to display next to it a "delete" link. One of the things I''ve tried is this: <script language="JavaScript"> new Ajax.InPlaceEditor(''answer_<%= answer[''id''] %>_view'', ''update_answer'', {rows:2,cols:40,loadTextURL:"getAnswer"},onMouseover:"Element.show (''delete'')";); </script> I''m am a newbie a javascript, so examples are appreciated....
2010 Aug 31
6
ajax and partials
...a question, answers, and responses to the answers. In the model have the following method to shuffle the answer –annotation(response) pairs so they don’t look the same every time they are viewed. Question.rb model def set_format_for_presentation # Create array and shuffle incorrects. answer_list = [ [incorrect_ans_1, incorrect_anno_1], [incorrect_ans_2, incorrect_anno_2], [incorrect_ans_3, incorrect_anno_3], [incorrect_ans_4, incorrect_anno_4], [incorrect_ans_5, incorrect_anno_5], [incorrect_ans_6, incorrect_anno_6] ].shuffle # R...
2006 Jul 24
1
Referring on the value of a counter in a loop
Dear all The following is a very basic and beginner's question on loops. Suppose you have data (say, 1000 cases) with two variables named "answer" (string) and "class" (numeric). The latter runs from 1 to 78 and categorizes the data. I need to create a file "answer_1.txt" for the cases with class==1, and so on, up to "answer_78.txt" I have been able to do this for one value of "class" in the following way k_1<-answer[class==1] write.table(k_1, "answer_1.txt") Now, I would like to loop over "class", replaci...
2008 Mar 27
5
Problem with socket_process: Call rejected by 127.0.0.1: Busy
Hi I am not sure why this is happening or whether it has anything to do with my iaxmodem setup. When receiving a fax via iaxmodem, I got an error message saying *chan_iax2.c:7542 socket_process: Call rejected by 127.0.0.1: Busy*