![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Sep 2011
Posts: 30
Rep Power: 0
![]() |
how to prevent page from refreshing
Does anybody know how to prevent the current page from refreshing for online test.
either refresh should not work or some logic of what to do when a user refresh page while giving online test. |
|
|
|
|
|
#2 |
|
Newbie
Join Date: Aug 2011
Location: Burbank,California
Posts: 4
Rep Power: 0
![]() |
Re: how to prevent page from refreshing
You can't stop the user from refreshing the page with PHP. PHP is server based programming language and such languages can't control the browser. It has to be done with Javascript.
__________________
Mobile Application Development - iPad App Development iPhone Application Development |
|
|
|
|
|
#3 |
|
Programmer
Join Date: Sep 2011
Posts: 30
Rep Power: 0
![]() |
Re: how to prevent page from refreshing
ok fine, but can any one tell me how to accomplish same using javascript
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Get on the First Page of Google for Any Keyword? | praveen1 | Other Tutorials and Articles | 9 | Dec 1st, 2012 4:15 AM |
| Reloading page causing erros | NaikTharki | PHP | 4 | Jul 30th, 2010 7:37 PM |
| Header/Logo design with the page? | BUCHANKO | HTML / XHTML / CSS | 5 | Jun 22nd, 2010 4:03 AM |
| "Loading..." message on first time page load | TedT | HTML / XHTML / CSS | 3 | Oct 17th, 2008 9:21 PM |
| Page Replacement Program (C++) | redhatter | Existing Project Development | 1 | Nov 20th, 2005 10:38 AM |