cocos2d-x v2.0与v1.0的区别 CCScene *scene = CCScene::node();改为 CCScene *scene = CCScene::create();改成 CCPoint endPos = pTouch->locationInView(); yizhiyanstart 2013-03-15 10:57:42
jQuery或者JavaScript实现在textarea光标处插入文本 sel.text = myValue;$t.selectionStart = startPos + myValue.length;obj.selectionStart = obj.selectionEnd = cursorPos;} } jquery教程 2012-02-26 09:02:07