Index: trunk/grails-app/taglib/JsUtilTagLib.groovy
===================================================================
--- trunk/grails-app/taglib/JsUtilTagLib.groovy	(revision 567)
+++ trunk/grails-app/taglib/JsUtilTagLib.groovy	(revision 568)
@@ -25,4 +25,5 @@
     * @param effect The effect to apply, 'fade' uses the fade/appear effect while the default is to just toggle.
     * @param text The text, if any, to display.
+    * @param useDiv Whether or not to use a wrapping div, default is 'true'.
     */
     def toggleControl = { attrs ->
@@ -37,10 +38,19 @@
             toggleJs = js.toggleWithImg(attrs.toggleId, attrs.imageId, attrs.openImgUrl, attrs.closedImgUrl)
 
-        mkp.div() {
-            a( href: toggleJs ) {
-                yieldUnescaped(attrs.text)
-                img(id: attrs.imageId, src: attrs.closedImgUrl, alt: "Show")
-            }
-        } // mkp
+        if(attrs.useDiv == 'false') {
+            mkp.a( href: toggleJs ) {
+                    yieldUnescaped(attrs.text)
+                    img(id: attrs.imageId, src: attrs.closedImgUrl, alt: "Show")
+            } // mkp
+
+        }
+        else {
+            mkp.div() {
+                a( href: toggleJs ) {
+                    yieldUnescaped(attrs.text)
+                    img(id: attrs.imageId, src: attrs.closedImgUrl, alt: "Show")
+                }
+            } // mkp
+        }
 
     } // hideShowControl
