I made a table with style and added jquery code in Liferay 7.3.1 GA2 and it works fine.
However, when I add a value to the table like one more to, the style is gone and jquery is not working anymore. But, if changed the whole HTML code, it works fine.
Is there any reason for this?
Check browser console for errors after changing the table. Most likely you'll find the reason there. Looks like jquery failed to load.