Displaying 1 result from an estimated 1 matches for "defined__".
Did you mean:
defined
2006 May 23
1
Help with observe_field
...IST = %w(Rails is a full-stack, really cool, open-source, free
thingy!)
def search
@phrase = request.raw_post || request.query_string
matcher = Regexp.new(@phrase)
@results = WORDLIST.find_all {|word|word =~ matcher}
render(:layout => false)
end
end
__Error: Form is not defined__
__Line error occurs__
new Form.Element.Observer(''search'', 0.25, function(element, value) {new
Ajax.Updater(''search_hits'', ''/facilities/search'', {asynchronous:true,
evalScripts:true, parameters:value})})
-------------- next part --------------...