Skip to content Skip to sidebar Skip to footer

How To Send Data With Form Label Element?

I should send data with form when submit button pressed.This value should be invisible and I used
This is my f

Solution 1:

You're after a hidden input.

<inputtype="hidden" name="r_id" value="1"/>

Solution 2:

inputtype="hidden"

are made for this and they won't appear if CSS are disabled (but of course they'll still appear in the HTML code)

Solution 3:

LABELs are not form elements that can hold or send data. They are captions tied to form elements.

<INPUT TYPE="hidden" name="r_id" id="r_id" VALUE="1"/>

This should do what you want.

Post a Comment for "How To Send Data With Form Label Element?"