View Full Version : onDblClick
techno_race
08-24-2008, 06:06 PM
What's wrong with this attribute?
onDblClick="window.location = 'egg3.php?input=' + document.getElementById('textfield').value"
It's just taking me to egg3.php, not egg3.php?input=input
thetestingsite
08-24-2008, 06:24 PM
Not 100% on this, but don't you need to use urlencode or something to that effect?
techno_race
08-24-2008, 08:26 PM
I've successfully done this before.
techno_race
08-24-2008, 09:02 PM
So, what's wrong with this attribute?
onDblClick="window.location = 'egg3.php?input=' + document.getElementById('textfield').value"
Works fine for me, got an example page?
mburt
08-24-2008, 09:11 PM
We need to see the full code... there might be something wrong with the passed value.
Failed to return false...
Success to return true... [I think :)]
mburt
08-24-2008, 11:15 PM
Success to return undefined ;)
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.