User Profile

Collapse

Profile Sidebar

Collapse
tinks
tinks
Last Activity: May 5 '11, 07:03 AM
Joined: Dec 20 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • tinks
    started a topic retreiving responseXML

    retreiving responseXML

    is it possible to get the tag name of an xml file in javascript?

    i am using ajax and responseXML. this is how my responseXML looks like.

    Code:
    <reply>
    <one>1</one>
    <two>2</two>
    </reply>
    i need to know the tags one and two.
    can i retrieve them?
    please help.
    See more | Go to post
    Last edited by Dormilich; May 5 '11, 04:02 PM.

  • tinks
    started a topic location.reload() problem

    location.reload() problem

    hi,

    i have a problem with location.reload ();

    because i need to reload my page without clicking a button so
    everytime i get a reply from server (using ajax) i call
    location.reload ();

    in one of my codes, i was calling:

    fill() --->this fills my form from data in db.

    and then, the other call that i have, calls:

    location.reload ();
    fill(xmlRespons e);...
    See more | Go to post

  • retrieving multiple variables in php from ajax using $_POST

    I cannot seem to retrieve using $_POST in php the variables that I passed using ajax.

    i have something like:
    Code:
    {
            temp1 = "root";
            temp2 = "false";
    	var url = "sample.php";
        	var arg1 = "arg1="+ temp1;
            var arg2 = "arg2="+ temp2;
    	var paramPost = arg1+"&"+arg2;
    
            ...		
         	ajax.postIt(paramPost,temp2);
    ...
    See more | Go to post
    Last edited by Niheel; Mar 10 '11, 03:29 AM.

  • tinks
    replied to ajax calling php not working
    hi,

    i installed the firebug and it says:

    uncaught exception: [Exception... "Component returned failure code: 0x805e000a [nsIXMLHttpReque st.open]" nsresult: "0x805e000a (<unknown>)" location: "JS frame :: file:///C:/wamp/www/sample.html :: showUser :: line 32" data: no]


    i read about this error and said something about AdBlock..i checked my add-ons and i dont...
    See more | Go to post

    Leave a comment:


  • tinks
    started a topic ajax calling php not working

    ajax calling php not working

    hi,

    I am currently working on linux env.
    I have PHP, JS and MySQL.

    I am exploring ajax to use.

    I tried w3shools and the example was working fine with windows.. please see link:
    http://www.w3schools.c om/PHP/php_ajax_databa se.asp

    However, this same example does not work in my firefox browser in linux. I am currently on VMware.

    I tried this code because my code...
    See more | Go to post
No activity results to display
Show More
Working...