Live Preview In jQuery

jQuery live preview script helps the user to preview their entered information in the site or in the comment box before finally submiting their information to the site.

jQuery Live Preview  live Example

jQuery Live Preview Demo

jQuery Live Preview

jQuery Live Preview

Here is sample jQuery script :


download jQuery Live Preview Script


Steps :

1. I had attached keyup() event with selected DOM element (live1), here in the above example I had selected textarea with it id (live1).

2. Whenever keyup() event occurs on the particular DOM element, it will runs the function that is attached to that keyup() event. Here it runs the following function.

where $(this).val() gets the content of first textarea and attches those content to div tag with id of live_pre1.  

Posted by:


Related articles

My Favorite Blog

Quiz Web App

Responsive Quiz Application Using PHP, MySQL, jQuery, Ajax and Twitter Bootstrap

Be Happy!!!

Inspirational Quotes - Motivational Quotes- Short Stories

Does God Exists?

Inspirational Quotes - Motivational Quotes- Short Stories

Back to Top