SHARE
TWEET

Untitled

a guest Nov 1st, 2012 535 Never
  1. var pars = $("p");
  2. text = pars[0].innerHTML;
  3. var arrOfStrings = [];
  4. $.ajax({
  5.   type: "POST",
  6.   url: "~/pythoncode.py",
  7.   data: { param: text}
  8. }).done(function( o ) {
  9.    arrOfStrings = processParagraph(text);
  10. });
  11. console.log(arrOfStrings);
RAW Paste Data
Top