Resets the rest
// This function returns the first selected option and resets
// the rest in case some idiot has set more than one to
// selcted :-)
Source: Direct link to the source code
Software: WebFX
Programming language: JavaScript
// This function returns the first selected option and resets
// the rest in case some idiot has set more than one to
// selcted :-)
Source: Direct link to the source code
Software: WebFX
Programming language: JavaScript
/*
For some stupid reason that i don’t want to know, those alerts are ALWAYS returning the same sh*t under that sh*tty browser (Microsoft Internet Explorer 6), when i’m using element.getAttribute(‘foo’) i want to _GET_ THE F*CKING ‘foo’ _ATTRIBUTE_ of element NOT A STUPID CHILD named ‘foo’.
Thanks again lazy MSIE 6 developers!
*/
Source: Direct link to the source code
Software: Gekko
Programming language: JavaScript
// calendar voodoo for computing the first day that would
// actually be displayed in the calendar, even if it’s from
// the previous month.
// WARNING: this is magic. ;-)
Source: Direct link to the source code
Software: DHTML Calendar
Programming language: JavaScript
Vor einiger Zeit mal bei einem Dienstleister gesehen…
<script type=”text/javascript”>
document.write(“<noscript>…</noscript>”);
</script>