Template:Team:Paris Saclay/simbox

From 2013.igem.org

(Difference between revisions)
Line 50: Line 50:
  var params_element= xmldata.getElementsByTagName("params")[0];
  var params_element= xmldata.getElementsByTagName("params")[0];
  alert(params_element);
  alert(params_element);
-
  var volume= params_element.getAttibute('volume');
+
  var volume= params_element.hasAttibute('volume');
-
  alert(volume + 'lol');
+
  alert(volume);
   
   
  //hasAttribute
  //hasAttribute

Revision as of 19:04, 2 August 2013