Jump to content

show certain text when a select field is selected


ferrit91

Recommended Posts

<select name="con_what" id="con_what">

  <option value="Error/Bug">Error/Bug</option>

  <option value="Abuse towards Staff">Abuse towards Staff</option>

  <option value="Porn">Porn</option>

  <option value="Racism">Racism</option>

  <option value="Piratcy">Piratcy</option>

</select>

 

Messages shown

if value is Error/Bug show message

An error or bug is when something is not quite right.

 

if value is Abuse towards Staff show message

Abuse towards Staff is where another members has said something that was not needed towards a staff member.

 

etc... But i want it to show when they slect it and not when they change page. So it have to change instantly without refreshing the page.

 

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.