We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6e87d6 commit 4efec40Copy full SHA for 4efec40
1 file changed
BookReview.html
@@ -74,6 +74,11 @@
74
var html = imageLink + authorText + review;
75
$('#showtext').val( html);
76
$('#preview').html(html);
77
+ $("#showjson").val(JSON.stringify({
78
+ name: $('#title').val(),
79
+ url: `http://www.amazon.com/dp/${asin}?tag=fromdevtools-20`,
80
+ imageUrl: data.url
81
+ }));
82
$('#imageUrl').val(data.url);
83
}
84
};
@@ -86,6 +91,7 @@
86
91
87
92
$("#showtext").selectOnFocus();
88
93
$("#imageUrl").selectOnFocus();
94
+ $("#showjson").selectOnFocus();
89
95
90
96
});//]]>
97
@@ -112,6 +118,7 @@
112
118
</div>
113
119
<div class="right">
114
120
<textarea id="showtext"></textarea>
121
+<textarea id="showjson"></textarea>
115
122
<input id="imageUrl" type="text" style="width:100%;"/>
116
123
</div >
117
124
0 commit comments