GETTING PLAIN TEXT FROM DYNAMIC TABLE


GETTING PLAIN TEXT FROM DYNAMIC TABLE

Good evening everyone.

I am working on a project that involves generating dynamic tables, where some <td> tags contain forms and inputs, for example : <table><tr><td><form><input value="aValue"></form></td</tr></form>

I would like to either transform this into 1) <table><tr><td>aValue</td></tr></form> 2) a Json object

I have tried many approaches but haven't had any success. Knowing you people have more experience maybe you could help me find a solution to this?

Edit: also sometimes the forms contains selects

Submitted August 13, 2017 at 11:19AM by veryPositiveThinker
via reddit http://ift.tt/2uC3Svp

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s