Jump to content

Remove Child won't work


unemployment

Recommended Posts

I can't get the remove child working.  Any ideas?

 

  input1[i].onclick = function() 
                        {
                         
                            // alert(this.name); 
                            ajax.get('/assets/ajax/partner_accept.php?uid=' + this.name, function(responce)
                            {
                            	input1[i].parentNode.removeChild(this);
                            });
						return false;
                        }
                        
                        input2[i].onclick = function() {
                         
                            // alert(this.name); 
                            ajax.get('/assets/ajax/partner_deny.php?uid=' + this.name, function(responce)
                            {
                            	
                            });
                            return false;
                        }

Link to comment
https://forums.phpfreaks.com/topic/234882-remove-child-wont-work/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.