Jump to content


Photo

Cannot edit data to show information on particular drop down selection


  • Please log in to reply
1 reply to this topic

#1 arunesh_dutta

arunesh_dutta
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 07 November 2017 - 12:59 PM

Hello all I have concern with my code and a functionality shared part of code here.I want to show "Diesel variant not available)when diesel is selected for a petrol variant like maruti(brand),model(alto),fuel(diesel),but on changing the data "Estimation requires inspection of your vehicle. Please go ahead and book" it still shows the same sentence what can be possible cause and how to fix same..Thanks
function(data){
if(data)
{
if(data == 'No Price')
{
$('#amount').html('Please select all the filters');
}
else if(data == 0.00)
{
$('#amount').html("Estimation requires inspection of your vehicle. Please go ahead and book");
Thanks to all

 

286yhht.jpg

 



#2 ginerjm

ginerjm
  • Members
  • PipPipPip
  • Handball player
  • 4,016 posts
  • LocationVoorheesville NY

Posted 13 November 2017 - 05:24 PM

Your braces look squirrelly
JG
PS - If you're posting here you should be using:
        error_reporting(E_ALL);
        ini_set('display_errors', '1');

at the top of ALL php code while you develop it!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users