Help I need a BIG help - regarding Ajax?

Origins

New member
well I need to get elements of an specific id from a HTML page to display on my page like

when I press button which was named Yahoo then Ajax need to pull elements from a HTML page and return but it should be like that

<p id='yahoo_id'>Yahoo</p>
<p id='google_id'>Google</p>
<p id='bing_id'>Bing</p>
<p id='ask_id'>Ask</p>

when I press Google button it should pull elements in google_id and return the string NOT all String
so How do I do that with Ajax , Javascript , and XHTML(I don't know XML or PHP so don't go too far)

Note: this HTML file on the server and it should be a separate file not the one that we browse
so don't tell me use getElementById('google_id') because it's not in this page

-Thanks
 
Back
Top