开发者

Creating URL in Dojo

开发者 https://www.devze.com 2023-01-30 15:17 出处:网络
Is there a function in Dojo that lets you specify URL parameters that I can take to window.open()? e.g. I\'m looking for a function like someDojoFunction() below.

Is there a function in Dojo that lets you specify URL parameters that I can take to window.open()?

e.g. I'm looking for a function like someDojoFunction() below.

window.open(someDojoFunction("开发者_高级运维stackoverflow.com", "param1", 100,  "param2", 200));

Sure, it would be trivial to write a function like that, but I don't want to reinvent the wheel and I want to do it dojo way!


There is something like that available.

BTW, if you want access to an arbitrary list of arguments like that, look into the arguments object of every function.

0

精彩评论

暂无评论...
验证码 换一张
取 消