Commit e43e44ee9524ea22842f34a3679409a28a39c1b4
- Diff rendering mode:
- inline
- side by side
recrawl.html
(16 / 0)
  | |||
1 | <!doctype html> | ||
2 | <html> | ||
3 | <body> | ||
4 | <input type="text" id="blog" placeholder="Please enter the full url of your blog"></input> | ||
5 | <input type="button" id="button" value="Crawl" onclick="crawl();"></input> | ||
6 | <script type="text/javascript"> | ||
7 | function crawl() | ||
8 | { | ||
9 | var xhr = new XMLHttpRequest(); | ||
10 | xhr.open('POST','http://dev.a11y.in/scrape',true) | ||
11 | xhr.send('url='+ document.getElementById('blog').value); | ||
12 | document.getElementById('button').disabled = true; | ||
13 | } | ||
14 | </script> | ||
15 | </body> | ||
16 | </html> |