3

I am new in JavaScript. I have a form code in which i have some input type and a submit button. I want that when user click on Submit button then an alert is open having 3 check boxes and two button Ok and Cancel When user check all checkbox then it pass all variables to the next page. if user not check any check-box it restrict user to check all checkboxes.

3

2 Answers 2

4

You can't have checkboxes/html in alert(), confirm() or prompt(). You might want to look into plugins like bPopup and use those for this purpose.

Sign up to request clarification or add additional context in comments.

1 Comment

This link is blockin my network. Can you please give me alternative
0

You can create second form popup it on click (after you save the data from the first form) then act on second form to processed to next page...

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.