javascript - Problem with url -


var x = 20; xhr.open('get','http://127.0.0.1:8000/insert/x); 

how can pass value of x in http string , get

xhr.open('get','http://127.0.0.1:8000/insert/20); request?  

xhr.open('get','http://127.0.0.1:8000/insert/' + x);


Comments

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -