File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ jQuery.print is a plugin for printing specific parts of a page
5
5
## Usage
6
6
7
7
Include it in your HTML after importing jQuery, like:
8
+
9
+ ``` html
8
10
<script type =" text/JavaScript" src =" path/to/jquery.print.js" />
11
+ ` ` `
9
12
10
13
Use it like:
11
14
@@ -15,10 +18,13 @@ Use it like:
15
18
16
19
or
17
20
21
+ ` ` ` js
18
22
$ .print (" #myElementId" /* , options*/ );
19
-
23
+ ` ` `
24
+
20
25
You can submit the options object like:
21
26
27
+ ` ` ` js
22
28
$ (" #myElementId" ).print ({
23
29
globalStyles: true ,
24
30
mediaPrint: false ,
@@ -30,7 +36,8 @@ You can submit the options object like:
30
36
manuallyCopyFormValues: true ,
31
37
deferred: $ .Deferred ()
32
38
});
33
-
39
+ ` ` `
40
+
34
41
Currently this plugin supports the following options:
35
42
36
43
####globalStyles
You can’t perform that action at this time.
0 commit comments