I have a poll on my website which displays radio buttons next to each answer. When the user selects an option and submits, im running a a php script via ajax to insert the v
$optionID = "="+optionID;
I don't quite understand what you are trying to do here o.O, in javascript you don't define your variables using $.
$
data: { optionID : option}
using it like this should work. You would retrieve it like this in PHP:
$option_value=$_POST['optionID'];