How to save the data of a tags?

0

I'm doing a practice, I can not find how to take the values and then send them by ajax to the controller, I'm working with C # MVC, I have these tags now what I want is to save those tags in a variable but not as; this is the rest

    
asked by Kevin 06.11.2018 в 07:07
source

1 answer

0

I imagine that although it has that appearance, it will be done in a text field where you simply modify the appearance with js and put those styles in, right? If so, what you have is a string of words separated by commas, what I would look at is to take the value of the input with js as you have above, make a split (separate a string into parts) separated by commas, and there you would have an array with each word. I do not know if it's exactly what you're looking for.

Greetings.

    
answered by 06.11.2018 в 08:41