Thread: Funny stuff
View Single Post
Old 18th March 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

New record for most number of characters on a single line: 582 characters.

Quote:
echo "<input type=\"text\" value=\"".$arrayWaarde[1]."\" maxlength=\"3\" name=\"".$Ieigenschap_id."[]\" style='width:25px' onkeyup=\"if ((this.value.length == 3 && getKey(event) != 8) || getKey(event) == 110) { this.value = this.value.replace('.',''); document.getElementsByName('".$Ieigenschap_id."[]')[2].focus(); }\" onkeydown=\"if ((getKey(event) == 8 && this.value.length == 0)) { document.getElementsByName('".$Ieigenschap_id."[]')[0].focus(); document.getElementsByName('".$Ieigenschap_id."[]')[0].value = document.getElementsByName('".$Ieigenschap_id."[]')[0].value; }\">";
That's PHP, HTML, CSS, and Javascript.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote