Is there any jQuery getScript equivalent in Prototype?
var head; var script; head = $$('head')[0]; if (head) { script = new Element('script', { type: 'text/javascript', src: 'dynamic.js' }); head.appendChild(script); }
Source: https://habr.com/ru/post/1744132/More articles:Unit tests and fixtures - unit-testingShared buffer optimization in a multi-threaded producer / consumer environment - performanceHow to find input element id by value? - javascriptOpenGL Cheat Sheet? - pipelineКак получить измененное время и размер любого файла с помощью PHP? - phpHow to get part of attribute value using jquery - javascriptПодтверждение запроса запроса команды для повторных попыток - design-patternsThe problem with the interface builder: when connecting IBOutlet, getting "this class is not a key value compatible with the key code", - iphoneRegularly remove images with style tag from Html - phpчто это за значение означает 1,845E-07 в excel? - excelAll Articles