I would like to know how can I create a HTML table in JQuery.
I would like to create a simple table like:
<table bgcolor=white width="245">
<tr>
<td>
<font color=darkblue size=3>Category 1</font>
<br>
<font color=#1dc4ff size=2><a href="">Element 1</a></font>
<br>
<font color=#1dc4ff size=2><a href="">Element 2</a></font>
</td>
</tr>
</table>
In something that I can code in my .jsp file. Something like:
(function( $ ) {
$.fn.MyTable = function(options) {
});
};
And how should I call the function from my HTML document?
Thank you so much