Ajax Sending First Blank Data
This part of my code is where I think the problem is at:

	var name = "Email Test";
	var url = 'https://mail.google.com/mail/u/0/#all/' + messageid;
	var encodedurl = encodeURIComponent(url);
	var dataValues = "name=" + name + "&url=" + encodedurl;
	$('#crmbtn').click(function(){
		$.ajax({
			type: 'GET',
			data: dataValues,
			url: 'http://someurl',
			success: function(){
				 alert('Sent To CRM')
			}
		});
		return false;
	});

The issue is that my code does what I want it to do, but instead of sending my data once it first sends blank data to my other php page and then sends the correct data afterwards. Im guessing its the way I coded my ajax function. 
Ajax Sending First Blank Data
===

This part of my code is where I think the problem is at:

	var name = "Email Test";
	var url = 'https://mail.google.com/mail/u/0/#all/' + messageid;
	var encodedurl = encodeURIComponent(url);
	var dataValues = "name=" + name + "&url=" + encodedurl;
	$('#crmbtn').click(function(){
		$.ajax({
			type: 'GET',
			data: dataValues,
			url: 'http://someurl',
			success: function(){
				 alert('Sent To CRM')
			}
		});
		return false;
	});

The issue is that my code does what I want it to do, but instead of sending my data once it first sends blank data to my other php page and then sends the correct data afterwards. Im guessing its the way I coded my ajax function. 