0

I have 2 Jquery Dialog box on the same page. The look and feel of both the dialog box are different from one another. Since both are referring to same jquery-ui-rev.css whatever CSS I apply for one dialog box, its getting applied to other also which I dont want. How can I fix my problem? And tell the dialog box to use a different CSS file for each other.

2 Answers 2

1

Take a look at Dialog#dialogClass to specify individual css classes for different dialogues.

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

Comments

1

You have to create seperate css file for the each dialog. during the dialog open include the css file and remove the css file when you close the dialog. Remove or add css file dynamically

This is may be useful for you

1 Comment

Even the answer from Muthu was very helpful.

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.