0
<input type="checkbox" id="CB6" name="" value=""  onclick="return KeepCount2(); ShowReg(6)">

It doesn't seem to work for me can someone correct this please =)

It does the keepcount but doesn't do the showreg.

Thanks

1
  • You forgot the semicolon plus, the first one includes return Commented Jul 12, 2013 at 14:03

2 Answers 2

2

The ShowReg(6) isn't called because you've got the return just be KeepCount2(), thus the flow stops there. Check to see if you don't what to write instead:

 onclick="KeepCount2(); return ShowReg(6);"
Sign up to request clarification or add additional context in comments.

Comments

0

onclick="KeepCount2(); ShowReg(6)"

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.