Hello, using jQuery, I'm trying to get values of fileTypes
by using an index. I'm not sure how to do go about doing this but so far I've tried settings.fileTypes[0]
which does not work. Any help is appreciated, thanks!
var defaults = {
fileTypes : {
windows: 'Setup_File.exe',
mac: 'Setup_File.dmg',
linux: 'Setup_File.tar.gz',
iphone: 'iPhone App'
}
},
settings = $.extend({}, defaults, options);