I should send data with form when submit button pressed.This value should be invisible and I used <label name=r_id id=r_id style="visible:hidden"> 1 </div>
This is my form
<form id="send_message" action="lib/send_message.php" method="post">
<textarea name="message" cols="45" rows="3" id="message"></textarea>
<label name="r_id" id="r_id" style="visible:hidden"> 1 </label>
<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Submit2" value="Reset">
But in my .php file It shows only message ,id is empty.
I used $message= $_POST['message'] and $r_ID=$_POST['r_id'] ;
EDIT
I should write that this label value must be change.And I am changing it with Jquery where the mouse clicked it gets tags id.Can I change value attribute with Jquery ?