-
Notifications
You must be signed in to change notification settings - Fork 439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Writing to tagify textarea #294
Comments
Can you make a demo page showing what you're trying to do? |
Hi,
I've tried to explain what I'm doing and what I need on the page that you
sent me : https://jsbin.com/diyodutobe/edit?html,js,output
Please don't hesitate if you have any questions.
Best,
Lee
…On Fri, Sep 6, 2019 at 9:24 PM vsync ***@***.***> wrote:
Can you make a demo page showing what you're trying to do?
Use this is a template: https://jsbin.com/degobup/edit?html,js,output
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#294?email_source=notifications&email_token=AEXLVLDKOS2TAMDECJSJA3TQIKU47A5CNFSM4IUF2V32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6D2KDY#issuecomment-528983311>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEXLVLDRZBQYZPIJ3I34FLDQIKU47ANCNFSM4IUF2V3Q>
.
|
Thanks for getting back to me @yairEO This request was more about reading and writing to a tagified text area more than using a database. Thanks to a comment from Dinosaur Burger, I managed to write data back to the tagify textarea using - var commentHtml= tagify.parseMixTags(replyVal); //turns tags back into html. You can find my modifications here What I notice however is that if the same tag is repeated, when it is written back into the textarea, the second second isn't displayed properly - it shows something like this instead : {"value":"lee","title":"lee"} How can I get parseMixTags to work properly when duplicate tags are used? Thanks again. |
@lee-matthews you need to parse the value first (using
|
Hi,
I can save the the contents of my tagify text area using :
However, I'd also like to be able to write the previously saved data to the tagify textarea. I've tried setting
document.getElementById(ElementId).value
but this doesn't work.Could you please explain how to do this?
Thanks again
Lee
The text was updated successfully, but these errors were encountered: