Search
 
SCRIPT & CODE EXAMPLE
 

PHP

saber value ao escolher combobox php

$(document).ready(function(){
    	
    	$(document).on('click', '#vervalor', function(){
    
    		let valor_ingresso = $('#cb_ingresso option:selected').val();
    		let quantidade_ingresso = $('#cb_catinsumo option:selected').val();
    		let total = (valor_ingresso*quantidade_ingresso);
    
    		$('.total').css('display', 'block');
    		$('#preco_total').html('R$ '+total);
    	});
    });
Comment

PREVIOUS NEXT
Code Example
Php :: Php excel from Z to AA 
Php :: button onclick php 
Php :: Parameters inside Laravel localized string 
Php :: laravel eloquent pass to next element 
Php :: check if order id exists wordpress woccommerce 
Php :: newrelic apache virtual hosts 
Php :: laravel excel check for duplicates 
Php :: laravel notion require 
Php :: sub() vs substr in php 
Php :: laravel controller and model create same file name 
Php :: laravel check if postback 
Php :: has_post_format wordpress 
Php :: Drupal get node id from view 
Php :: php pdo random multiple insert query 
Php :: doctrine remove element from arraycollection 
Php :: wp table with hostname setup 
Php :: larave per page int returns string 
Php :: register widget in wordpress 
Php :: javascript,php error 
Php :: data showing in single option instead of multiple option from json array 
Php :: wp woocommerce change product tags to checbox 
Php :: Class PHPUnit_Util_Log_TeamCity does not exist 
Php :: old codestar gallery 
Php :: $_get in php not working 
Php :: ussd php 
Php :: X-Frame-Options may only be set via an HTTP header sent along with a document. It may not be set inside <meta. 
Php :: how to restrict user to some pages using php 
Php :: textarea autocomplete phpmyadmin style 
Php :: upload video file in mysqli using php 
Php :: if laravel pagiantion not found error occured then 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =