I hadn't realized that Edge loads in a version of jQuery. Using jQuery's noConflict()
fixed the problem:
<script>
$(document).foundation();
$.noConflict();
jQuery(document).ready(function($) {
// Code that uses jQuery's $ can follow here.
// This works as expected
$('#myModal').foundation('reveal', 'open');
$("#myButton").click(function() {
// This generates the error:
//Uncaught TypeError: Object [object Object] has no method 'foundation'
$('#myModal').foundation('reveal', 'open');
return false;
})
});
</script>