Skip to content

Instantly share code, notes, and snippets.

<%import unique from system%>
<script type="text/javascript">
$("#<%$unique.id%>").livequery(function() {
$(this).stuffed_initForm({
markErrorFields: function(jqField) {
jqField.parents("td:first").prev().css({
color: 'red'
})
},
clearErrorFields: function(jqField) {
(function () {
YOUR_NAMESPACE.getStackTrace = (function () {
var mode;
try {(0)()} catch (e) {
mode = e.stack ? 'Firefox' : window.opera ? 'Opera' : 'Other';
}
switch (mode) {