I made a form in ASP.NET & created login div inside it (initially login div is hidden). Once I click on "Sign In" button, I manage to toggle the sign in div visibility. Now my question is when it is successful login, I am redirecting the user to a new page & this is running fine. But when login is failed, I want to keep sign in box open (however it is not straight forward as it executes server side code & page reloads, hence the box is hidden). Can you please suggest me best approach considering performance factor whether I should call jquery & open the sign in div from server code OR it can be done using jquery only OR is there any standard way to deal with such situation. Any help will be appreciated.
Most of that will depend on the type of sites you are building. Some people spend 80% of their time with effects and sliders and jQuery UI (http://jqueryui.com/ ), while others work with traversing and manipulating the dom most of the time.
I would say the most important things that almost everyone needs and should be familiar with would be ajax and traversing the dom. Ajax if for no other reason than it lets you do so much. Traversing the dom because, if you can't find the elements you need to work with then you can't do anything with them .
Hope that helps
Leave a comment on dsvick's reply
Change topic type
Link this topic
Provide the permalink of a topic that is related to this topic