page reloads on opening a popup

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
gauri
Forum Newbie
Posts: 3
Joined: Thu Aug 13, 2009 4:19 am

page reloads on opening a popup

Post by gauri »

hi

i am developing a web application. on one of my pages there are many links which opens popup.
when click on any of the link the main refreshes/reloads.
is there any way to avoid this :?:
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: page reloads on opening a popup

Post by pickle »

I assume you've tied in some Javascript functionality via the "click" event, to get your popup to show. At the end of the code that runs on click, return false.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply