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,902
  • 13
  • 36
  • 53
Rene
  • 13,299
  • 5
  • 19
  • 28

1 Answers1

2

Try readonly instead of disabled.

hanleyhansen
  • 6,304
  • 8
  • 37
  • 73