Contact Me
Resources
Development Tips & Code Library
-
Recent Entries
Blogroll
Category Archives: Javascript
Javascript Toggle All Checkboxes
Here is a nifty little tool I modified to toggle all checkboxes on a page. I use this when displaying a list of files or items that need to be processed on form submit. <SCRIPT LANGUAGE=”JavaScript”> //Toggle all Checkboxes function … Continue reading
Posted in Code, Javascript, Snippets
Comments Off on Javascript Toggle All Checkboxes
Javascript, CSS2, and Display Table Row
I have a requirement to show/hide a new form variable based on year selected for the year 2011. I initially tried wrapping the table TR tags inside of a DIV in the form. <div id=”togglethis” style=”none”> <tr> <td><label>Mylabel</label></td> <td><input type=”text” … Continue reading
Posted in Code, CSS, Javascript, Snippets
Comments Off on Javascript, CSS2, and Display Table Row
Javascript and form style
You can control some form elements CSS style attributes using Javascript. This comes in handy when trying to highlight errors or disabled fields. You can use a select onChange event to disable/enable form fields. The style attributes I find most … Continue reading
Posted in Code, CSS, Javascript
Comments Off on Javascript and form style
Coldfusion list to Modal Window Select to Javascript to Coldusion variable.
I think I have accomplished what was once thought impossible or at least improbable. I have passed variables to a Modal window, allowed the user to execute a form there, passed the variable back to the parent page using javascript, … Continue reading
Posted in Code, Coldfusion, Javascript, SQL
Comments Off on Coldfusion list to Modal Window Select to Javascript to Coldusion variable.
Select option [0] value
I have an application that allows the user to look up order detail. When they click on that order number they can open a trouble ticket. I pass most of the order information to the trouble ticket which is built … Continue reading
Posted in Code, Javascript, Snippets
Comments Off on Select option [0] value