Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
Results 1 to 4 of 4
Thread: Html5 & ajax?
-
09-06-2015, 11:40 PM #1Regular Coder
- Join Date
- Oct 2002
- Posts
- 208
- Thanks
- 3
- Thanked 0 Times in 0 Posts
Html5 & ajax?
Are HTML5 & AJAX compatible? I understand that the X part of AJAX is XHTML. So I thought maybe they don't work together.
I want to use HTML5 for the LocalStorage aspects plus I think it'll make it easier to manage the code for mobile & non-mobile at the same time.
But I also wanted to use AJAX to perform quick updates to the webpages without reloading.
TIA!
-
09-07-2015, 12:37 AM #2Senior Coder
- Join Date
- Aug 2006
- Posts
- 1,859
- Thanks
- 12
- Thanked 399 Times in 396 Posts
The X in AJAX is for XML, not for XHTML. And there's no problem using the html5 features with AJAX.
-
09-07-2015, 04:47 AM #3Regular Coder
- Join Date
- Oct 2002
- Posts
- 208
- Thanks
- 3
- Thanked 0 Times in 0 Posts
-
12-01-2015, 06:58 AM #4New to the CF scene
- Join Date
- Dec 2015
- Posts
- 9
- Thanks
- 0
- Thanked 1 Time in 1 Post
AJAX, jQuery and HTML5 are big buzz words in the web design/development community nowadays. AJAX, jQuery and HTML5 work together through the use of page tags, page IDs and page classes that exist between the two tags of a web page. The JavaScript functionality embedded in jQuery and AJAX finds these tags , IDs and classes (which we’ll now call page elements) and “does” something to them; maybe it changes their background color, maybe it’s loading copy into them. Either way, it’s doing something to them.This process of “finding and doing something” to these page elements with JavaScript is more commonly known as “traversing the DOM



Reply With Quote
