Knowledge of Prototype Skills Test
___ extends event with all of the methods contained in Event.Methods.
__________ allows more than one effects to occur at the same time.
$("id1").wrap("div", {"class" : "container"});
Consider the following code snippet: 1 $('id1').observe("click", function() { 2 new Effect.Highlight("id1", {startcolor: '#ff9999', endcolor: '#ffffff'}); 3 return false; 4 }); If you click it on...
Consider the following code snippet: Element.addMethods({ : show: function(element) { : alert("This is prototype."); } }); What does this code snippet do?
Consider the following code snippet: new Ajax.InPlaceEditor("id1", "save.jsp"); What is the request parameter name of id1 element on server When its value changes?
Consider the following code snippet: new Effect.Scale("id1", arg2); Which attribute(s) is id1 element scaled to?
Consider the following code snippet: new Effect.Scale(agr1, arg2); What is arg2 parameter?
Consider the following code snippet: Sortable.create("id1"); Assume that nodes which id: id11, id12 are children of id1 and nodes which id: id111, id112 are children of id11. Which of the followi...
Consider the following code snippet: var a = {framework: "Prototype", version: "1.6.1"}; var b = a.toObject(); alert(b.version); What does the alert box display?
Consider the following code snippet: var Animal = Class.create({initialize: function(wildOrNot, canFly) {this.wildOrNot = WildOrNot; this.canFly = canfly;}}); var Wolf = Class.create(Animal, {init...

Consider the following code snippet: var s = ''; (5).times(function(n) { s += n; }); alert(s); What does the alert box display?

Consider the following code snippet: var template = new Template("This is #{framework} version #{version}"); var a = {framework: "Prototype", version: "1.6.1"} var b = template.evaluate(a); What ...
Elements and ids can be interchangeable in function calls, if a function expects a document id.
Function.bind(object); will replace ___ variable in function by "object".
How can you add class to id1 element?
How can you stop an event from propagating?
If the server response time is slow, you may consider increasing the ___ option parameter to reduce the response time.
If you want to make an Ajax request using xml instead of the regular URL-encoded format, which option parameter do you have to change?
PeriodicalUpdater updates an element ___.
The callback function in options of Ajax.Autocomplete() is called ___ the request is actually made.
The difference between Effect.SlideUp and Effect.BlindUp is that ___.
The number of arguments of Try.these() are ___.
The time to complete an effect generally depends on the speed of the computer.
What does $F(element).getValue() return?
What does cleanWhiteSpace method of element do?
What does identify method of element do?
What does match method of element do?
What does the following statement do? new Ajax.Updater("el1", "/index");
What does the following statement return? fom1.findFirstElement();
What does the statement $('item1', 'item2', 'item3'); return?
What is the difference between the names of native browser events and prototype custom events?
What is the result of "this is".include("prototype"); statement?
What is the result of "thisisprototype".camelize(); statement?
What is the result of 10.toColorPart(); statement?
What is the result of b in the following code snippet? var a = {name: "Prototype", version: "1.6.1"} var b = Object.values(a);
What is the result of the following code snippet? el.insert("«span»Prototype«/span»");
What is the result of the following code snippet? [1, 2, 3, 4, 5].detect(function(n) {return n % 3});
What is the result of the following code snippet? [1, 2, 3, 4, 5].map( function(num) { return num * num; } );
What is the result of the following code snippet? [1, null, 2, false, 3].partition();
What is the result of the following function? function a() { var x = 10; return x.toPaddedString(4); }
What is the valid range of $R(1, 10, true);?
What is the value of $A($R('ab', 'ah'));?
What is the value of b in the following code snippet? var a = ["this", "is", "prototype"]; var b = a.inject(0, function(c, d) { return c + d.length; });
What will be returned if Event.findElement("click", "div"); cannot find any elements that match the specified tag?
When is the Ddom:loaded event fired?
Which of the following code snippets changes properties of element's css?
Which of the following code snippets is the proper way to define a class in prototype?
Which of the following code snippets is the proper way to define a class that inherits another class?
Which of the following code snippets moves id1 element?
Which of the following effects are core effects?
Which of the following element methods finds siblings of that element?
Which of the following form's functions allows you to submit a form using Ajax?
Which of the following functions allows/allow you to register an event to an element?
Which of the following functions converts html special characters to their entity equivalents?
Which of the following functions fires a custom event?
Which of the following functions is used to call the initialize method of the parent class?
Which of the following functions returns the element that occurred?
Which of the following functions updates an existing hash?
Which of the following is the result of "this_is_prototype".dasherize(); statement?
Which of the following is/are a valid callback of core effects?
Which of the following methods allows you to add a new instance of method to a class after that class has been defined?
Which of the following methods allows you to add class to a class after that class is defined?
Which of the following methods allows you to set element attributes?
Which of the following methods allows you to set many style attributes in one call?
Which of the following methods can you use to fade in an element?
Which of the following objects allows you to monitor Ajax activities?
Which of the following options is/are valid element(s) of the function- Form.Element.present(element);
Which of the following parameters is/are valid parameter(s) of Effect.Highlight() method?
Which of the following properties holds the number of active requests?
Which of the following statements displays prototype version of Prototype?
Which of the following statements is valid?
Which of the following tags can make element draggable?
Which of the following ways can you use to check whether prototype is loaded or not?
Which of the given options is the result of the following code snippet? new Builder.node("div", {className: "error"}, "Error");
Which of the given values can be the value of arg in the following code snippet? $("id1").insert(arg);
You ___ create instances of Ajax.Response yourself.
You have a local autocomplete like the following: new Autocompleter.Local(arg1, arg2, arg3, arg4); Assume that you want to create a local autocomplete text field. You want to display all possible...