solon Posted April 23, 2009 Share Posted April 23, 2009 Hey guys i need to know if there is a way to load a result -response- with the "load()" function into two different id's. So when i have this script <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script> <script type="text/javascript"> function act-deact() {//load here * $('#id*').load('act-deact.php',{ 'emp_id': $('#emp_id').val(), 'do': $('#do').val() }); } </script> * instead of only ('#id') i want to load part of the response into 'id' and the other part into 'id1' if you have any more questions please ask me. Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/155317-ajax-load-question/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.