Q:

How to clear all the textbox fields in a parent page using jquery

Is their any way to clear all the textbox values in a parent form using jquery or javascript.
Now i am clearing each fields using
var parentDoc1 = window.opener.document;
parentDoc1.getElementById(id).value="";

A:

To clear the all textboxes , you can use this:
$(parentDoc1).find('input[type=text]').val('');

If some of textboxes (e.g. textboxes with mytextboxclass class, with mytextboxid id,etc...) mustn't be cleaned, then you can use :not in your selector for excluding those:
$(parentDoc1).find('input[type=text]:not(.mytextboxclass,#mytextboxid)').val('');

