[Solved] How to get information from select options and input, another input?


I don’t know if I can properly answer to your question. Here is the following code, written in Angular.JS

Script.js

var myApp = angular.module("myModule",[])



myApp.controller("myController",function($scope){

    $scope.cartype="";
    $scope.caryear="";
    $scope.carcolor="";
    $scope.carvalue="";
});

demo.html

<html  ng-app="myModule">
<head>
    <title>welcome</title>
    <script src="https://stackoverflow.com/questions/54476714/./angular.min.js"></script>
    <script src="./script.js"></script>
</head>
<!-- ng-app is an directive  which autobootstraps angularjs application
its a starting point of angularjs application -->
<body ng-controller="myController">


        car type: <input type="text", ng-model="cartype"/>
        car year model: <input type="text", ng-model="caryear"/>
        car color: <input type="text" , ng-model="carcolor"/>
        car value: <input type="text", ng-model="carvalue"/>

        final : {{cartype}}
                {{caryear}}
                {{carcolor}}
                {{carvalue}}

      </body>
      </html>

0

solved How to get information from select options and input, another input?