Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey Friends

My Query is that I want to show div tag on button click in asp.net using javascript.
When I executed my code and click on button then div tag is shown for few seconds and after that it's invisible.

Please helped me because I'm using this in my project, show me code for it too, if possible.

I'm thankful to you in advance.
Posted
Updated 8-Jan-11 2:33am
v2
Comments
#realJSOP 8-Jan-11 6:08am    
You're going to have to show us your code (and only the code in question - not your entire project). BTW, why aren't you doing this in C# instead of javascript?
Dalek Dave 8-Jan-11 8:34am    
Edited for Grammar, syntax and Spelling.
fjdiewornncalwe 8-Jan-11 13:31pm    
We're not dumb enough to just hand you over a homework solution without some proof that you have tried yourself. We are very happy to help if something goes wrong, but we won't just do the work for you. Remember... If you're in school to become a developer, we're the ones you will have to work with after you graduate, so we have a vested interest in making sure you actually know what you are doing.

Links that should help:
jQuery Ajax[^]

jQuery Timer[^]

jQuery hide[^]

jQuery show[^]

Regards
Espen Harlinn
 
Share this answer
 
Comments
Dalek Dave 8-Jan-11 8:34am    
Good Links.
Espen Harlinn 8-Jan-11 8:59am    
Thanks Dalek!
Hi, why don't you show us code? if then you can get solutions quickly.

At least do customizations based on your need.
Show and hide divs at a specific time interval using jQuery[^]
 
Share this answer
 

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