Hi,
I am working on dynamic dropdownlist. There are 3 lists, the third list values are populated based on the first two lists inputs.
Below is the code.
onchange’=>’
$.get( "'.Url::toRoute('/site/findcarsfuel').'", { model: $(this).val(),mod: $(#signupform-model_name).val() } )
.done(function( data ) {
$("select#'.Html::getInputId($signup, 'fuel').'").html( data );
}
);
signupform-model_name is the first lists id, this is not working. I am getting Uncaught SyntaxError: Unexpected token ILLEGAL.
Please help on this.
Vaibhav