Prototype Framework Question: Download Prototype PDF

Explain The $F() function?

Tweet Share WhatsApp

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 PDF Read All 7 Prototype Questions
Previous QuestionNext Question
Explain JavaScript Prototype Framework Features?Explain The $$() function?