title: Put the knife down and take a green herb, dude. |
descrip: One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com Using 89% of the same design the blog had in 2001. |
FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white. As an Amazon Associate, I earn from qualifying purchases. Affiliate links in green. |
|
Saturday, November 14, 2009 | |
Finally dug up an easy enough AJAX sample, and thought I'd share my slight variation on theme. If you put these two files into a dir on a webserver, you can play around a bit with the URL you're calling (URL isn't really a URL and must be relative -- calling off-site URLs seems to cause some security issue where you keep getting nothing back) and what you expect to find in the querystring and post vars. Once you've got this running, you're pretty much raring to go with AJAX. Many examples have more error checking, which would likely be useful, but this is working so I'm going with it for now. ajax.php <html> ajaxCatch.php <html> Labels: code, html, php, problem solved posted by ruffin at 11/14/2009 10:51:00 PM |
|
| |
MarkUpDown is the best Markdown editor for professionals on Windows 10. It includes two-pane live preview, in-app uploads to imgur for image hosting, and MultiMarkdown table support. Features you won't find anywhere else include...
You've wasted more than $15 of your time looking for a great Markdown editor. Stop looking. MarkUpDown is the app you're looking for. Learn more or head over to the 'Store now! |
![]() |
|
|