Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: Html5 & ajax?

  1. #1
    Regular Coder
    Join Date
    Oct 2002
    Posts
    208
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question 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!

  2. #2
    Senior 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.

  3. #3
    Regular Coder
    Join Date
    Oct 2002
    Posts
    208
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tracknut View Post
    The X in AJAX is for XML, not for XHTML. And there's no problem using the html5 features with AJAX.
    Thanks.

  4. #4
    New 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


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •