1 Replies - 7147 Views - Last Post: 31 July 2012 - 02:50 PM

#1 nsyamimi90  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 18-July 12

how to avoid page refreshing

Posted 30 July 2012 - 08:34 PM

hi

i want to ask about how to avoid page from refreshing when we click button?
Is This A Good Question/Topic? 0
  • +

Replies To: how to avoid page refreshing

#2 Nakor  Icon User is offline

  • Professional Lurker
  • member icon

Reputation: 445
  • View blog
  • Posts: 1,501
  • Joined: 28-April 09

Re: how to avoid page refreshing

Posted 31 July 2012 - 02:50 PM

The answer can vary somewhat depending on what scenario the button is being used in. What exactly is the button doing? If you're just executing some javascript you can usually tag a "return false;" onto the end of the client click event. In order to get a more specific answer though will need a more specific question as well as some code to put it in context.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1