Loading ...
Sorry, an error occurred while loading the content.

7032try to load a dynamic content :/

Expand Messages
  • rafinha_spy
    Nov 30, 2006
    • 0 Attachment
      I have a dynamic tabview in index.htm...
      and when i click in tab... he call for dataSrc: 'includes/test.htm' ..
      ok its work fine...

      tabs show the contents of teste.htm.

      when teste.htm is loaded.. he dont show the code of the page request
      using conection function.

      but if i access testList.php separately... he show call content

      www.mydomain.com/abc/index.htm (dont show testList.php content)
      www.mydomain.com/abc/teste.htm (show the content of testList.php)


      anybody can help me?

      thankz a l0t :P

      ============================= test.htm =============================
      <script type="text/javascript"
      <script type="text/javascript"
      var handleSuccess = function(o){
      document.getElementById('testeList').innerHTML = o.responseText;

      var handleFailure = function(o){
      if (o.responseText !== undefined)
      document.getElementById('testList').innerHTML = "<li>Error message:
      " + o.statusText + "</li>";

      var callback = {
      argument: { foo:"foo", bar:"bar" }

      var sUrl = "testList.php";

      function makeRequest(){
      var request = YAHOO.util.Connect.asyncRequest('GET', sUrl, callback);

      <div id="testList" style="position: relative; width: 350px;">

    • Show all 2 messages in this topic