Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function updateGroupMembers(id,groupId,action) {
- // forming the queryString var data = 'id='+ id + '&groupId='+ groupId + '&action='+ action;
- // if searchString is not empty if(id) {
- // ajax call $.ajax({
- type: "POST",
- url: "div2.php",
- data: data,
- success: function (html) {
- $('#div2').html(html);
- $('#div2').fadeIn(2000);
- },
- });
- }
- return false;
- }
- $('#div1').click(function(){
- $('#div2').html('new content')
- });
Add Comment
Please, Sign In to add comment