I'm trying to learn how to use jQuery FlexBox. Getting confused:
My understanding is that as the user is typing into the FlexBox, what he types will be sent to the server through ajax. I'm using Django on the server side to do autocomplete, but how do I actually retrieve what the user has typed? Is the query being sent as a parameter? If so, what parameter is it? If anyone could share some code examples on how to do this it'd be greatly appreciated.
How do I specify the name of the FlexBox? In the documentation it is stated: "Add an empty div to the tag wherever you want the FlexBox to appear:
<div id="fb"></div>
". But I'd need to give that FlexBox a name so that when the form is submitted, I could process the user input in the FlexBox, right? So how do I give each FlexBox a name?
Thanks