Prototype Framework Question:

Download Job Interview Questions and Answers PDF

Explain The $F() function?

Prototype Interview Question
Prototype Interview Question

Answer:

Building on the $() function: the $F() function returns the value of the requested form element. For a 'text' input, the function will return the data contained in the element. For a 'select' input element, the function will return the currently selected value.

$F("id_of_input_element")

Download Prototype Interview Questions And Answers PDF

Previous QuestionNext Question
Explain JavaScript Prototype Framework Features?Explain The $$() function?