Skip to content
Branch: master
Find file Copy path
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}}
$('.details tbody tr').on('click', function(){
var id = $(this).find("td:first").html();
location.href = 'employee?id=' + id;
You can’t perform that action at this time.