0

I have an option select form but when I disable the select tag it won't post the PHP statement.

<select disabled name="project" data-placeholder="Project..." class="chzn-select" style="width:300px;"tabindex="4">
    <option value='<?=$overzicht[0]->idProject;?>' ><?=$overzicht[0]->Titel;?></option> 
</select>

When I leave the "disabled" tag it will post. But when I try with the disable tag it won't post.

rtruszk
  • 3,884
  • 13
  • 35
  • 53
Rene
  • 12,831
  • 5
  • 18
  • 27

1 Answers1

2

Try readonly instead of disabled.

hanleyhansen
  • 5,984
  • 7
  • 33
  • 71