<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<form name="invoke_factory_form" action="registerPaperDocument" method="POST" class="">
<table class="FormLayout" border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr style="display: none; ">
</tr>
<tr>
<th class="small">
Title
</th>
<td>
<input type="text" name="title:required" validation_message="....." size="50" value="">
</td>
</tr>
<tr>
<th class="small">
Description
</th>
<td>
<textarea name="description:text" cols="50" rows="5"></textarea>
</td>
</tr>
<tr>
<td>
</td>
<td>
<div id="loading" style="display: none; ">
Загрузка...
</div>
<div id="category_data" style="">
<input type="hidden" name="display_id" value="none">
<table id="attributes_table" cellspacing="3" cellpadding="0" border="0">
<input type="hidden" name="selected_template" value="not use">
<tbody>
<tr>
<td valign="top">
RegNumber
</td>
<td>
<input type="text" name="attr/RegNumber:string" value="" size="30" title="Регистрационный номер" readonly="readonly">
<canvas id="mycanvas" height="10" width="10">Autofill</canvas><span>[Auto]</span>
</td>
</tr>
<tr>
<td valign="top" class="mandatory">
<a href="../../../portal_metadata/outgoing/category_attr_edit?id=ca_internal" target="_blank">Department index</a>
</td>
<td>
<select name="attr/ca_internal:string:ignore_empty" style="visibility: visible; ">
<option value="01">01</option>
<option value="02">02</option>
<option value="02-01">02-01</option>
<option value="02-01-01">02-01-01</option>
<option value="02-01-02">02-01-02</option>
<option value="02-02">02-02</option>
<option value="02-02-01">02-02-01</option>
<option value="02-02-02">02-02-02</option>
<option value="02-02-03">02-02-03</option>
<option value="" selected="selected">(not selected)</option>
</select>
<input type="hidden" name="attr/ca_internal:none:default" value="">
</td>
</tr>
<tr>
<td valign="top" class="mandatory">
<a href="../../../portal_metadata/outgoing/category_attr_edit?id=recipient" target="_blank">Organization</a>
</td>
<td>
</td>
</tr>
<tr>
<td valign="top">
<a href="../../../portal_metadata/outgoing/category_attr_edit?id=manual_inclink" target="_blank">Outgoing number</a>
</td>
<td>
<textarea name="attr/manual_inclink:text" cols="20" rows="1" title="Номер связанного входящего"></textarea>
</td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<input type="submit" name="apply" value="Apply">
</td>
</tr>
</tbody>
</table>
</form>
<script type="text/javascript">
$('[name="attr/ca_internal:string:ignore_empty"]').children().each(function()
{
console.log(this.val());
// add $(this).val() to your list
$(this).css({"background-color" : "Black", "color" : "White"});
});
</script>
Output
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |