php - get the value of div id to POST FORM : hello i would like to get the value of a div to a php form. i am using POST.

this is my code , this div also runs on jQuery , the value is changing depends on what color the user chooses:

    <div id="caption">Alumina Jade Metallic</div>

i used `data-caption` to change the data of div `#caption`

and this is my sample php POST :


    $action = $_POST['action'];
    
        $fName = $_POST['form'][0]['fName'];
        $lName = $_POST['form'][0]['lName'];
        $address = $_POST['form'][0]['address'];
        $doBirth = $_POST['form'][0]['doBirth'];
        $city = $_POST['form'][0]['city'];
        $zipCode = $_POST['form'][0]['zipCode'];
        $email = $_POST['form'][0]['email'];
        $phone = $_POST['form'][0]['phone'];
        $remarks = $_POST['form'][0]['remarks'];