Fb:typeahead-option

From Facebook Developers Wiki

Jump to: navigation, search

[edit] Description

This tag is currently in beta. Please post bugs in the Bug Tracker.

This tag specifies the values for a typeahead form input. You must use it in conjunction with Fb:typeahead-input.


[edit] Attributes

RequiredNameTypeDescription
optional value string The value assigned to the fb:typeahead-input element, used in the POST request when the form is submitted.


[edit] Examples

<fb:fbml version="1.1"> <fb:typeahead-input name="your_input_name"> <fb:typeahead-option value="me"><fb:name uid=1160 capitalize=yes linked=no /></fb:typeahead-option> <fb:typeahead-option value="ex">x</fb:typeahead-option> <fb:typeahead-option>why</fb:typeahead-option> </fb:typeahead-input> </fb:fbml>