Team:UNITN-Trento/Templates/Notebook

From 2013.igem.org

(Difference between revisions)
Line 18: Line 18:
//Get url
//Get url
href = $(this).attr('href');
href = $(this).attr('href');
-
href += "?action=raw&ctype=text/javascript"
 
//Get id
//Get id
var id = href.split("/");
var id = href.split("/");
id = id[id.length - 1];
id = id[id.length - 1];
-
alert(id);
 
//Save highest id (last post)
//Save highest id (last post)
Line 31: Line 29:
//Make AJAX request
//Make AJAX request
-
alert(href);
+
href += "?action=raw&ctype=text/javascript"
$.get( href , function(data) {
$.get( href , function(data) {
alert(data);
alert(data);

Revision as of 07:32, 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