Direct Population of Form Values using Javascript

Posted on Friday 9 March 2007

Print This Post Print This Post

Type the following code in Address bar to fill the form fields named Ad1 and Ad2 wth certain text.

javascript:function A(){document.getElementById(’Ad1′).value =”sadAS1″;document.getElementById(’Ad2′).value = “sadAS2″;}setTimeout(’A()’); void(0)


No comments have been added to this post yet.

Leave a comment

(required)

(required)


Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.


RSS feed for comments on this post | TrackBack URI