Saturday, April 12, 2008

Java code to submit a scrap

The following javascript will mimic the action of submit button. Just paste the code in the address bar after typing out the scrap.

javascript: _submitForm(document.getElementById('scrapInputContainer').getElementsByTagName('a')[0], ’submit’, ‘true’);

What is the use of this virtually nothing. But say you have written scrap to someone and the problem is with submit button then this will be to your rescue especially when you are using in a unsupported browser,

1 comments:

sameer said...

sameer

Post a Comment