This may seem pretty basic, but a classmate of mine is learning Javascript and they keep asking me the same thing: Can I change the two buttons on Alert and Confirm methods so that they don't say "cancel" and "okay"? I guess the same would go with Prompt. Is there a way? I keep telling him no and I checked other sources but I want to be sure. Thank you in advance.
pars99
0
Junior Poster in Training
Recommended Answers
Jump to Postnope.. you are correct.
Instead you would have to go with something like jQuery UI Dialog, or just build a custom modal popup and handle the button clicks via code.
All 3 Replies
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
pars99
0
Junior Poster in Training
Troy III
272
Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.