Javascript/PHP Help

Caporegime
Joined
18 Oct 2002
Posts
25,287
Location
Lake District
I'm trying to parse a variable when clicking a checkbox on a page, I'm trying to do it using this code but it isn't working.
Code:
function returns(filename) {
	var x = new Image(1,1);
	x.src='http://database/othering/returns.php?filename='+filename+'&x='+new Date().valueOf();
	return false;
}
Can anyone advise?
 
Back
Top Bottom