0

for example I have html on my page (which populated dynamically):

<ul>
 <li>Country</li>
 <li>State</li>
 <li>City</li>
</ul>

And want to send this to the db after pressing the button.

I used ng-model="modelName" for inputs, but what I can use for simple text?

1 Answer 1

1

Can you just read it with document.getElementById("yourElement").innerHTML ?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.