I am trying to print the content of a form on my web page, for now I am doing it in the following way:
<input type="button" id="btnBuscar" class="btn btn-primary"
value="IMPRIMIR" onclick="javascript:print()" />
The problem is that in this way I printed the entire current page, and I would be needing only the group of label and input tags that are inside the form.
Thank you very much!