I’ve been using jquery on and off for the last 6 months.
I have a form where I want to replace 20 different javascript alert(“”); statements with jQuery Modal Dialog boxes.
I don’t want to create a separate dialog div section for each different message.
Is there a way with base jquery-ui to create a reusable modal dialog box where I can pass in the message title and message text?
Let me know if you have any ideas?
Derek
There are a lot of plugins that you can find for jQuery for dialog boxs.
I’ve used the facebox plugin in the past.
Basic usage could be as simple as: