Appending query params

Struggling with passing params, as I haven’t done it before.

I want to pass a Job Title to the next page when a button is clicked. My code is as follows:

$w.onReady(function () {
    
    let jobTitle = $w("#text3").text;
    let modifiedJobTitle = encodeURIComponent(jobTitle)
    let url = "/addjob?"+modifiedJobTitle;
    $w("#button48").link = url
    console.log(url)
    console.log($w("#button48").link)

});

url is outputting fine in console but the link is still only /addjob.

What am I missing here??

Thanks,
Simon.

let url = "/addjob?job=" + modifiedJobTitle;

aaaaaaarrrrghh!!! Should have spotted that!!

Thanks @jonatandor35

Simon.