chanchelkumar Posted March 29, 2007 Share Posted March 29, 2007 Hi dudes, I want to load two div in one action!!! Is there any hope!!!! Quote Link to comment Share on other sites More sharing options...
chanchelkumar Posted March 29, 2007 Author Share Posted March 29, 2007 ???[move]NO HELP FROM HERE!!!!!!!!!!!!!!! :-\ :'([/move] ??? Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted March 29, 2007 Share Posted March 29, 2007 http://snippets.tzfiles.com/snippet.php?id=27 Change this: document.getElementById('AJAX').innerHTML = ajaxRequest.responseText; To something like this (You can only use 2 classes of the same name though): document.getElementByClass('AJAX').innerHTML = ajaxRequest.responseText; Quote Link to comment Share on other sites More sharing options...
mainewoods Posted April 3, 2007 Share Posted April 3, 2007 where is the data for the two divs coming from? Are you saying you want to make one ajax call which contains 2 items to be put into 2 divs? Quote Link to comment Share on other sites More sharing options...
kaspalog Posted April 6, 2007 Share Posted April 6, 2007 i have a table: tbcities there are 3 fields/columns: (1) id, (2) city, and (3) zip if i search for id (one button click/action), i want the corresponding city and zip code loaded into separate divs. <div id="city">i want the city here</div> <div id="zip">i want the zip code here</div> how do i do that? pls help us. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.