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. 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.