The question might not be clear, so i will explain further.
I saw some page like wordpress new post tag, they have something like
[input]
x tag | x tag | x tag
or Facebook Notes when you post a image…
the when you input a tag and press enter, a new tag is insert in to element in the page…
I don’t quite understand how can you parse that out and then submit to the form.
if anyone know please give me an idea.
Thanks
One way is to keep track of the tags you add in a hidden form field, but actually display using divs or spans or whatever UI you want. In the case of facebook, I’d imagine they’re doing something somewhat similar, though I guess they could actually be adding form elements dynamically. Forgive the nasty code/css – just tossed it together. If you add tags and then hit submit, you’ll see the querystring that all the values are there.