Print only lightbox or modal window content

Category Archives: Javascript

Javascript

Print only lightbox or modal window content

This was a real kick in the Jimmy. On a recent project I had a requirement to print contents of a modal window. Solution: When the user clicks a print button add an iframe to the end of the body … Continue reading

Posted in Javascript, Uncategorized | Leave a comment

JavaScript Reg-ex for sub-domain name

This one took me a bit so thought it might be worth writing it down. If you need to validate a field for a valid subdomain name, ie the “subdomain.inthedomain.com” you have a couple of requirments: 1) Field value starts … Continue reading

Posted in Javascript | Comments Off on JavaScript Reg-ex for sub-domain name