Closed eckhchri closed 7 years ago
DRIVERCOLOR_AddSelElement pcars_html_controls.js:20(anonymous function) index.html:626 jquery.js:1458 Uncaught Error: Syntax error, unrecognized expression: #DRIVERCOLOR option[value='Olivier D'Aubioul']
problem: DriverNames like Olivier D'Aubioul In case of string handling 'Olivier D'Aubioul' the D'A result in a problem in line
if ( $("#DRIVERCOLOR option[value='" + new_val + "']").length == 0 ){....} within pcars_html_controls.js
Workaoround for this case: if ( $("#DRIVERCOLOR option[value=\"" + new_val + "\"]").length == 0 )
DRIVERCOLOR_AddSelElement pcars_html_controls.js:20(anonymous function) index.html:626 jquery.js:1458 Uncaught Error: Syntax error, unrecognized expression: #DRIVERCOLOR option[value='Olivier D'Aubioul']
problem: DriverNames like Olivier D'Aubioul In case of string handling 'Olivier D'Aubioul' the D'A result in a problem in line
if ( $("#DRIVERCOLOR option[value='" + new_val + "']").length == 0 ){....} within pcars_html_controls.js