Team:UNITN-Trento/Templates/Notebook

From 2013.igem.org

(Difference between revisions)
Line 30: Line 30:
//Add 'add post' button
//Add 'add post' button
-
var addpost_url = href.split("/");
+
var addpost_url = href.split('/');
alert(addpost_url);
alert(addpost_url);
addpost_url.pop();
addpost_url.pop();
alert(addpost_url);
alert(addpost_url);
alert(addpost_url.length);
alert(addpost_url.length);
-
addpost = addpost_url[0].join("/");
+
addpost = addpost_url.join('//');
alert(addpost_url);
alert(addpost_url);
addpost_url += "?action=raw&ctype=text/javascript";
addpost_url += "?action=raw&ctype=text/javascript";

Revision as of 07:13, 19 August 2013

Filter by DATE
 
Sun Mon Tue Wed Thu Fri Sat
             
             
             
             
             
             
{{{1}}}
Filter by WHO
Filter by TAG
[http://2013.igem.org/wiki/index.php?title=Team:UNITN-Trento/Templates/Notebook&action=edit Edit this page] | Main Page