Mar 20, 2013, 5:53 PM
[CLOSED] Generated Code (loading plugins)
I've been trying to understand some javascript that is generated from markup in order to recreate it myself:
I have the path: /ux/extensions/inputtextmask/inputtextmask.js that I got from the svn source.. I assume I should load it like:
ux/extensions/inputtextmask/inputtextmask-js/ext.axd?v=?????
.. but that doesnt seem to work, and I dont know what number to use anyways.
Thanks.
Ext.net.ResourceMgr.load([{
url: "/ux/extensions/selectbox/selectbox-js/ext.axd?v=14483"
},{
mode: "css",
url: "/ux/extensions/fileuploadfield/css/file-upload-css/ext.axd?v=14483"
}]
I don't understand what the 'v' parameter is doing? Is it loading a specific version of a file or something? The reason I'm trying to decipher it, is because I'm trying to load the Ext.ux.netbox.InputTextMask plugin via javascript, and so I'm trying to work out how other plugins are loaded. The view in question is completely dynamic and totally generated via javascript.I have the path: /ux/extensions/inputtextmask/inputtextmask.js that I got from the svn source.. I assume I should load it like:
ux/extensions/inputtextmask/inputtextmask-js/ext.axd?v=?????
.. but that doesnt seem to work, and I dont know what number to use anyways.
Thanks.
Last edited by Daniil; Mar 21, 2013 at 11:52 AM.
Reason: [CLOSED]