-
Recent Posts
Ubuntu Countdown
Archives
Recent Comments
Categories
Tags
ajax apache api bandwidth bash browsers bug config custom fields data validation Developing with Netsuite Doctrine embed error firefox forms google google analytics html HTML 5 JavaScript jQuery linux netbeans netsuite Netsuite Bugs Netsuite Errors Netsuite Sucks network override PHP PHP Framework php toolkit plugin routing sample code script search security Symfony task Ubuntu web browsers xml YML
Category Archives: Html
Internet Explorer 8 and event.preventDefault() Problem
I was trying to use event.preventDefault in a function called by an onclick method of an anchor tag. Although this worked fine in Firefox and chrome, naturally, I.E. would find it necessary to treat this differently. IE 8 sadly does … Continue reading
Posted in Html, JavaScript
Tagged firefox, html, ie8, internet explorer, JavaScript, microsoft
Leave a comment
Jquery Validation Plugin with multiple forms
I love using the Jquery Validation plugin on my html forms. It makes frontend validation very easy and painless. However, today I noticed a strange problem, when I was pressing the submit button on a form, it was requiring fields … Continue reading
Posted in Html, JavaScript, jQuery, Plugin
Tagged data validation, forms, JavaScript, jQuery, sample code
Leave a comment
Javascript Associative Array Empty?
I was trying to form an associative array in javascript and made the mistake of trying to form it with the following code. When I dumped the variable I found it was empty. As to be expected, this is another … Continue reading
PHP Output Buffering (with HTML)
Over the past year I have made heavy use of PHP output buffering. Although it serves no function purpose, it can make for much more readable code; I have found it particlarly useful for outputting HTML from methods. Consider the … Continue reading
Posted in Html, PHP, Uncategorized
Tagged html, netbeans, output buffering, PHP, sample code
Leave a comment
HTML 5 and Required Inputs
Another promising (and partially implemented) feature of HTML 5 is required fields. Firefox 6 already lets you take advantage of this attribute. The required attribute forces users to fill out a field before allowing them to submit a form. If … Continue reading
HTML and Limiting Character in a Textarea
By adding the attribute maxlength=”23″ you can limit the field to 23 characters. The browser won’t allow the user to enter anything longer than the number you specify. For those of you with recent versions of Firefox or Chrome, you … Continue reading
Loading XML along with HTML for Your Javascripts to Use
If you have JavaScripts that rely on certain xml data in order to operate, you might be tempted to use the document body’s (or JQuery’s) onload event handler to perform an ajax request to get the xml immediately after the … Continue reading
