Team:UNITS Trieste/Template:Header

From 2011.igem.org

(Difference between revisions)
Line 15: Line 15:
$.each( subm, function( intIndex, objValue ){
$.each( subm, function( intIndex, objValue ){
   var linkm = objValue.firstChild;
   var linkm = objValue.firstChild;
-
   if(linkm == [object HTMLElement]);
+
   if(linkm == [object HTMLLIElement]);
   else destination.append($( "<span>" + linkm + "</span>" ));
   else destination.append($( "<span>" + linkm + "</span>" ));
   destination.append($( "<span>" + objValue.firstChild.innerHTML + "</span>" ));
   destination.append($( "<span>" + objValue.firstChild.innerHTML + "</span>" ));

Revision as of 09:36, 27 August 2011