开发者

Is there a way to update the dojo tree item id with the id come from database?

I have a dojo tree that its nodes are created temporary in 开发者_如何学Cmemory. I assigned every new node an id by timestamp like this: var newID = new Date().getTime(). This new node will associate with a form to control its info. My expected is: when the form is submit, the new id came from the database will replace the timestamp id above. How can I do this?

Thanks!!!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜