Format function now allows to choose source and target IDs
This commit is contained in:
@@ -29,9 +29,9 @@
|
||||
onfocus="clearDefaultContent(this, 'Insert XML here');"></textarea>
|
||||
<br><br>
|
||||
<button id="requestButton" class="max-width block-label action-button active"
|
||||
onclick="performFormatRequest('prettifypost', true)">Prettify XML</button>
|
||||
onclick="performFormatRequest('prettifypost', true, 'xmlArea', 'resultArea')">Prettify XML</button>
|
||||
<button id="requestButton" class="max-width block-label action-button active"
|
||||
onclick="performFormatRequest('minimizepost', true)">Minimize XML</button>
|
||||
onclick="performFormatRequest('minimizepost', true, 'xmlArea', 'resultArea')">Minimize XML</button>
|
||||
<br><br>
|
||||
|
||||
<label for="resultArea"><b>Result:<span id="procinfo"></span></b></label>
|
||||
|
||||
Reference in New Issue
Block a user