I'm familiar with $get()
and $find()
. But, I've just stumbled across some code I need to work on that calls a function $create()
. I can't find anything online or in the code explaining it. The slightly modified call is here:
$create(namespace.aspnetclass, {id: 'foo', groupId: <%= groupId %>},
null, null, $get('divContainer'));
What is $create()
supposed to do? Right now, it is doing nothing.
$create
是Sys.Component.create()
方法的快捷方式,它是MS Ajax库的一部分,用于创建组件(通常称为控件和行为 )
$create(type, properties, events, references, element);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.