<p>I have an ajax---<strong>Is it possible to have a variableinside the $.ajax url:? In the case bellow I want the id = (varid)</strong></p><p>$.ajax({</p><p>dataType: 'json',</p><p>url:'http://api.blah?id=<strong>{$id}</strong>,us&........myId',</p><p>data: data,</p><p>success: (data) => {</p><p>console.log(data)</p><p>}</p><p>});</p> Expert