<script src="http://www.google.com/jsapi"></script>
<script>
//<![CDATA[
// Load jQuery
google.load("jquery", "1.2.6");
//]]>
</script>
<script>
//<![CDATA[
$().ready(function() {
//append ":" to every labels of region "my_region_id"
$("#my_region_id span").each(function() {
if ( $(this).hasClass("t4NoLabel") || $(this).hasClass("t4OptionalLabel") || $(this).hasClass("t4RequiredLabel")) {
$(this).append(":");
}
});
//This line of code is not working, I need to find out why
//$("#my_region_id span").filter(":has(.t4NoLabel,.t4OptionalLabel,.t4RequiredLabel)").append(":");
});
//]]>
</script> |