Permalink
Browse files

Sending input somewhere

  • Loading branch information...
1 parent a297c89 commit 2808cf229d0874eefbd6548ffeb2bffcbe4bd4b8 @whitingjp committed Feb 18, 2012
Showing with 5 additions and 3 deletions.
  1. +5 −3 reader.js
View
@@ -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();
}

0 comments on commit 2808cf2

Please sign in to comment.