Browse by Tags

All Tags » JavaScript (RSS)
I recently have been thinking about tabular displays and how to make them better. For instance, suppose that your final output of an application looked like the following: <table id="tbl"> <thead> <tr> <th>One Header<...
Posted by bmains | with no comments
Filed under: ,
Using JavaScript, there are two ways to create HTML dynamically. The first is using strings: myDiv.innerHTML = "<span>Some HTML content</span>"; THe other approach is using the Document Object Model (DOM), which has a series of methods...
Posted by bmains | with no comments
Filed under:
In JavaScript, there is a difference between object.methodName and object.methodName(). By defining the last parenthesis calls the method, where the first one refers to the methodName method instance. So in code, if doing the following: if (object.methodName...
Posted by bmains | with no comments
Filed under: