Click here to Skip to main content
14,641,269 members
Rate this:
Please Sign up or sign in to vote.
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.
Rate this:
Please Sign up or sign in to vote.

Solution 1

Links that should help:
jQuery Ajax[^]

jQuery Timer[^]

jQuery hide[^]

jQuery show[^]

Regards
Espen Harlinn
   
Comments
Dalek Dave 8-Jan-11 8:34am
   
Good Links.
Espen Harlinn 8-Jan-11 8:59am
   
Thanks Dalek!
Rate this:
Please Sign up or sign in to vote.

Solution 2

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[^]
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100