Categories

How to post form from a popup window to a parent window

TweetShare(function() {var s = document.createElement(‘SCRIPT’), s1 = document.getElementsByTagName(‘SCRIPT’)[0];s.type = ‘text/javascript’;s.async = true;s.src = ‘http://widgets.digg.com/buttons.js’;s1.parentNode.insertBefore(s, s1);})();

I was working on a client website and he requested that the form fields on a pop-up window should be posted to the parent window and the process should continue in the parent window from there on.

I was thinking [...]

How to validate only digits and decimal points in Javascript?

TweetShare(function() {var s = document.createElement(‘SCRIPT’), s1 = document.getElementsByTagName(‘SCRIPT’)[0];s.type = ‘text/javascript’;s.async = true;s.src = ‘http://widgets.digg.com/buttons.js’;s1.parentNode.insertBefore(s, s1);})();

Our company had implemented an online payment form where customers could pay online on the company website against outstanding invoices or any other service. However, the validation on the form regarding the payment amount field was pretty simple as it [...]

How to customize the style drop down in FCKEditor

TweetShare(function() {var s = document.createElement(‘SCRIPT’), s1 = document.getElementsByTagName(‘SCRIPT’)[0];s.type = ‘text/javascript’;s.async = true;s.src = ‘http://widgets.digg.com/buttons.js’;s1.parentNode.insertBefore(s, s1);})();

One of my clients wanted to use the same CSS classes which were being used on the public website in the FCKEditor so that he could apply the classes in one go while writing the content. Now the Style drop [...]