Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 502 Bytes
<!--
title: Employees
-->
<a id="back" href="javascript:history.back()">&#8592; Back</a>
{{ "select Id, TitleOfCourtesy as Title, FirstName, LastName, City, Region, Country, HomePhone, Extension from Employee" | assignTo: sql }}
{{ sql | dbSelect | htmlDump({ className: "table table-striped details" }) }}
{{#raw appendTo scripts}}
<script>
$('.details tbody tr').on('click', function(){
var id = $(this).find("td:first").html();
location.href = 'employee?id=' + id;
})
</script>
{{/raw}}
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.