You need two different function names, as declaring the second one will overwrite the first. Change the name to something more declarative (say, toggleGender
) See my change here.
solved how to use jquery hiding two fields
You need two different function names, as declaring the second one will overwrite the first. Change the name to something more declarative (say, toggleGender
) See my change here.
solved how to use jquery hiding two fields