Jump to content

Accessing dropdown label Value


KevMull

Recommended Posts

You can access a dropdown label value in javascript but not in the php POST you'll have to work on a workaround like put the value and the label in the value attribute

 

<option value="1|Rajiv">Rajiv</option>

 

and later process it in PHP, Hope its helpful

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.