Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Sending input somewhere

  • Loading branch information...
commit 2808cf229d0874eefbd6548ffeb2bffcbe4bd4b8 1 parent a297c89
@whitingjp authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 reader.js
View
8 reader.js
@@ -1,8 +1,9 @@
//var site = 'http://nottheinternet.com/games/heftyseamstress'
//var retrieve = site+'/retrieve.php?word='
-
-var site = 'http://jonathanwhiting.com/jam/uk6/seamstress/'
-var retrievesite = site+''
+//var storesite = site+'/store.php?word=test&phrase='
+var site = 'http://jonathanwhiting.com/jam/uk6/seamstress'
+var retrievesite = site+'/'
+var storesite = site+'/store.php?word=test&phrase='
var inputword = '';
function load()
@@ -41,6 +42,7 @@ function process_input(form)
{
var val = form.input.value;
show(val);
+ $.get(storesite+val);
$('.inputter').remove();
}
Please sign in to comment.
Something went wrong with that request. Please try again.