You might just try this instead.. put this in your theme header file and it should move all of the descriptions for you instead of having to do it manually.
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('.gfield_description').each(function(i,e){
fielddesc = jQuery('<div>').append(jQuery(e).clone()).remove().html();
jQuery(e).siblings('label.gfield_label').after(fielddesc);
jQuery(e).remove();
});
});
</script>
Also, you're fields id is found in the markup. View the source, locate the field you want and you'll see the id in line with the other attributes.
Posted 14 years ago on Sunday October 17, 2010 |
Permalink