Support

Account

Home Forums General Issues If a field is empty (doesn\'t have any value), do something with plain Javascript Reply To: If a field is empty (doesn\'t have any value), do something with plain Javascript

  • Why would you want to do this using JavaScript.

    I am assuming that you are conditionally showing the videos in PHP. Correct me if I’m wrong, but if this is the case then you could more easily conditionally show the H2 in PHP as well.