Author Archives: eSearing

About eSearing

Webdeveloper, Photographer, political junkie.

Javascript User entry validation

I have a form with an ID input box. If the id is less than 6 characters i want to disable the submit button until it reaches the 7th character. What I found was that users sometimes Type their id, … Continue reading

Posted in Code, Javascript, Problems & Fixes, Snippets | Comments Off on Javascript User entry validation

CSS – page break and dont print

Found this little CSS tidbit useful to day. I had output order entry records with multiple page detail. I wanted each page of the detail to print to its own sheet. The problem I faced was that the Top of … Continue reading

Posted in Code, CSS | Comments Off on CSS – page break and dont print

SQL – Performance issues with UPPER or lower case

Assume you have a large database with millions of records. One of the columns is an id number made of upper and lower case letters, numbers, and other symbols. And to make it easy on your users you merely convert … Continue reading

Posted in Code | Comments Off on SQL – Performance issues with UPPER or lower case

Javascript – Test if form element exists

var myobj = document.form.fieldname; if (myobj != null || myobj != ‘undefined’){ //do something }

Posted in Code, Javascript, Snippets | Comments Off on Javascript – Test if form element exists

horizontal menu challenges

I needed to implement a self contained Horizontal menu that shows the user which section they are in by using a highlight that is different from the rest of the menu bar. No breadcrumbs. Using coldfusion allowed me to do … Continue reading

Posted in Code, CSS, Problems & Fixes | Comments Off on horizontal menu challenges