Click here to Skip to main content
15,922,533 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi!
I have a problem with my property page whenever I click on my save button after filling required fields of my ADD Property page fields then first time it removed my all styling from that page then I again click on it and it save my changes and switch to next modules: e.g;
I have following buttons in left panel of my page and their respective fields area on right panel when a user click a button like "Add Photos" then it's respective control load to it's right side but first module which is "Add a Property" is compulsory without filling information in it user can't be able to move on any other module
once I filled "Add Property" required fields and click on save button then it remove all styling from my Add a property page first time and it's styling becomes so poor please what will be the problem with it If anyone can help out in this case then I'll be so thankful to that one
Add a Property

Add Location

Add Compositions

Add Photos

Prices
Posted
Comments
[no name] 8-Apr-12 9:48am    
You have given no information about how you are applying styles or what is happening during submit. How can we possible answer?

1 solution

This is really easy to do with jQuery which provides adding and removing CSS styles dynamically as one of the most used mechanism for dynamic changes in appearance. Please see:
http://en.wikipedia.org/wiki/JQuery[^],
http://jquery.com/[^].

The CSS effects and code samples are here:
http://api.jquery.com/category/css/[^].

Learning jQuery is pretty easy. You can start with:
http://docs.jquery.com/How_jQuery_Works[^],
http://docs.jquery.com/Tutorials[^],
http://docs.jquery.com/Main_Page[^].

—SA
 
Share this answer
 
Comments
ProEnggSoft 8-Apr-12 12:53pm    
Several useful links. +5
Sergey Alexandrovich Kryukov 8-Apr-12 12:57pm    
Thank you.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900