Change to Form Headers

Jan 20, 2010 at 7:08 PM

One small tweak for the form headers plugin; if you use something like this on line 35:

firstRow.before("<tr class='jPointHeaderRow'><td colspan='2' class='ms-formbody jPointHeaderCell'>&nbsp<a href='javascript:void(0);'>" + FormItem.split("|")[0] + "</a></td></tr>");
If you use javascript:void(0); (or something similar with the onclick) Intead of using # for the HREF, you can keep the page from scrolling to the top everytime they click the header links.
Other than that, great stuff!
Coordinator
Jan 20, 2010 at 7:50 PM

Thank you!

I will make suggested changes to the form headers jPart and repost so everyone benefits from you effort!

-Samir