Is there anyway to use Ajax to:a) retrieve HTML pagesand b) retrieve HTML pages through the anchor tag onclick method and a div element? eg <a onclick="some_ajax_request()">link</a><div> My HTML will appear here </div>
7/8/2009 8:02:16 PM
Yes![Edited on July 8, 2009 at 8:03 PM. Reason : although you should use proper event handlers in a good javascript library]
7/8/2009 8:03:28 PM
http://docs.jquery.com/Ajax
7/8/2009 8:27:50 PM
7/8/2009 9:39:54 PM
Use prototypejs.org it's really clean and easy to usetutorials and examples on their site on how to use it. You can use a Ajax updated to update a div with the retrieved HTML page or subcontainer as I like to call them since they aren't full HTML pages with headers and body tags.
7/8/2009 11:35:12 PM
FUCK PROTOTYPE USE JQUERY RAWR RAWR RAWR
7/9/2009 8:19:36 AM
FUCK JQUERY USE JAVASCRIPT
7/9/2009 7:42:26 PM
FUCK JAVASCRIPT USE ELECTRONS
7/9/2009 8:57:42 PM
FUCK ELECTRONS USE JESUS
7/9/2009 9:17:51 PM
eh, never messed with jquery.not to be a fag, but i've been enjoying mootools a lot lately.[Edited on July 9, 2009 at 11:41 PM. Reason : though obviously its for a lot more than just ajax requests]
7/9/2009 11:40:43 PM
lol, web development.
7/10/2009 12:14:27 AM