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.
精彩评论