I’m pulling my hair out trying to find a work around for this.. according to Dreamweaver, and when I run it, javascript thinks the sections between the “/” are a regex definition. How do I fix this to just be division like I want?
var totalPrice = 0;
totalPrice = totalPrice + ((bluRayPrice * filmHours()) + ((filmHours()/3 < 1) ? bluRayPrice * copies1 : ((filmHours()/3)*bluRayPrice) * copies1 ));
Dreamweaver is just an IDE. You should ignore any sort of incorrect highlighting, as the javascript will run as expected and do division when you actually use it.
As a guess though, you should probably put a space between it like