дать подсказку по js скрипту
Есть скрипт, все работает как нужно. Задача скрипта - сделать выпадашки http://joxi.ru/L214MVoHEyB7mX , но после выбора всех параметров в выпадающих списках нужно чтоб внизу можно было вывести результат. От Вас нужны цены, желательно адекватные 🙂 и возможность включиться в задачу уже сейчас.
ниже сам скрипт
angular.module('ionicApp', ['ionic'])
.controller('MyCtrl', function($scope) {
$scope.myTitle = 'Cascading Select';
// Our model/item
$scope.item = {
manufacturer: '',
size: '',
model: ''
};
// Our hierarchical object of manufacturers, car sizes and model names
$scope.manufacturers = {
"Alfa Romeo": {
"145": ['Adam','Corsa'],
"147": ["Astra","Zafira"],
"155": ["Insignia"]
},
"Ford": {
"Capri": ["Lupo","Polo"],
"Cougar": ["Golf","Jetta"],
"Courier": ["Passat"],
"Ecovan": ["Touarek"]
}
};
$scope.manufacturerNames = [];
for(manufacturer in $scope.manufacturers)
$scope.manufacturerNames.push(manufacturer);
$scope.sizeNames = [];
// get size names by manufacturer
$scope.getSizeNames = function(manufacturer) {
$scope.item.size = '';
$scope.item.model = '';
$scope.modelNames = [];
var result = [];
if($scope.manufacturers.hasOwnProperty(manufacturer)) {
for(size in $scope.manufacturers[manufacturer])
result.push(size);
}
$scope.sizeNames = result;
};
$scope.modelNames = [];
// get model names by manufacturer and size
$scope.getModelNames = function(manufacturer, size) {
var result = [];
if($scope.manufacturers[manufacturer].hasOwnProperty(size)) {
for(model in $scope.manufacturers[manufacturer][size])
result.push($scope.manufacturers[manufacturer][size][model]);
}
$scope.modelNames = result;
};
});
-
1 day6 USD
1742 114 2 1 1 day6 USDЗдравствуйте!
Готов помочь
Мои контакты
skype: trollixxx
telegram: freelancevip
email: [email protected]
-
401 64 1 2 Готов реализовать
-
По факту нужен кастомный <select></select> ?
-
Получается, фильтры сделать?
-
ng-model = "some_var" {{some_var}} , обработчик на изменения some_var (хотя не уверен)
-
Было бы хорошо и ссылку на сайт.
-
Current freelance projects in the category HTML & CSS
Build a page on Elementor ProIt is necessary to build a page from scratch on a WordPress site using the Elementor plugin (Pro version). Desktop version + responsive version for tablet and mobile. We provide the design in Figma. The design document template is in the attachments (desktop version only).… HTML & CSS, Web Programming ∙ 44 minutes back ∙ 24 proposals |
Updating plugins and themes for the WP site putevka.uz"A technical audit of the WordPress site needs to be conducted, checking the relevance, security, and compatibility of the installed plugins and theme. Based on the results, legal options for updating, replacing outdated solutions, or transitioning to officially available… HTML & CSS, PHP ∙ 5 hours 33 minutes back ∙ 30 proposals |
Development of an interactive Palworld map for the websiteWe need to develop an interactive map for Palworld based on the example: https://palworld.gg/map We need not just a static image, but a full-fledged interactive map where users can view locations, toggle object categories on/off, search for specific points, and interact with… HTML & CSS, Javascript and Typescript ∙ 20 hours 35 minutes back ∙ 24 proposals |
Setting up a fabric online store on WordPress + WooCommerce using the Astra template
330 USD
It is necessary to set up and prepare an online store for furniture fabrics for the Norwegian market. The domain, hosting, and WordPress are already installed: eximtextilnordiq.com The site should not be created from scratch and without custom programming, but on the ready-made… Content Management Systems, HTML & CSS ∙ 1 day 1 hour back ∙ 60 proposals |
Rib restaurant-pizzeria websiteThe client side — a dynamic menu with Firebase, categories with tabs, dish cards with photos and prices, support for two sizes (pizza 30/40 cm), responsive mobile design, a sidebar menu with contacts and location. The admin panel — authorization, management of categories and… HTML & CSS ∙ 1 day 5 hours back ∙ 79 proposals |