Menu

Newbie QA

Help
Bastiaan
2006-07-27
2013-04-10
  • Bastiaan

    Bastiaan - 2006-07-27

    Hi,

    I am new to ajax and haveinstalled the phpAjaxTags into my root. But none of the ajax communication is working. What is wrong?

    The error is xml has no proberties
    ajaxtags-1.1.5.js (line 431):
    var root = xml.documentElement;

    Did I miss something?

    thank you,
    --
    ^(B(astia{2}n)?)(\s)?(W(ak{2}ie)?)$

     
    • Virtimus

      Virtimus - 2006-11-25

      For this thing to work - You must feed it with proper server XML responses -
      the tags param "baseUrl" controls this
      in first demo on my site (Select Tag Demo) it's:    

      'baseUrl'=>'/phpAjaxTags/demo/sampleAjaxServer.php',
      'parameters'=>'action=select2&make={make3}',

      so - You will receive requests from the client browser looking like this:

      /phpAjaxTags/demo/sampleAjaxServer.php?action=select2&make=<makenumberhere>

      You must properly handle those requests outputing some XML in response (You can look in the sampleAjaxServer.php example file how to do this)

      This XML is needed to provide client with some dynamic additional data (in this example - content of the second combo)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.