I get the Syntax missing ) error
$(document).ready(function changeText() {
var p = document.getElementById('bidprice');
var btn = document.getElementById('paybtn');
var txt = document.getElementById('theText');
btn.onclick( p.textContent = txt.value; );
});
what exactly is the wrong thing I have tried looking at my syntax seems okay