OK, I figured it out! The original code was:
Code:
<a href="#" onclick="fetchCategories(this, 12345, 67890);"></a>
I tried moving the onclick JavaScript into href, but then that code shows up in the status bar. That's when I remembered javascript:void(0);. So the final code is:
Code:
<a href="javascript:void(0);" onclick="fetchCategories(this, 12345, 67890);">whatever...</a>
I'm not crazy about the javascript:void(0); appearing in the status bar, but I can live with that.
The only way the page jiggles now is when the code affects the length of the page.
Thanks for your help.
- AAA
Bookmarks