Forums

PHP

This topic is locked

how to refresh my page

Posted 11 Nov 2006 11:33:16
1
has voted
11 Nov 2006 11:33:16 Brijesh Srivastava posted:
hi,

I want to know how do you refresh your page automaticaly when your form is submitted.I have made edit of the registration and there is a popup window for every section , I want when people fill this popup and submit that the main page of the edit_registration should automaticlly refreshed so that updated data should appear on the page.

Please help me in solving this problem.as I am Beginner programmer I am unable to do that.

I would be very thankfull to that person who will help me in solving this problem.

Thank you....

Replies

Replied 11 Nov 2006 12:04:11
11 Nov 2006 12:04:11 ASif Iqbal replied:
well ,
i think there is no special function to refresh the page.
but there is some substitutes, i can give u one idea, hopt would work.

run this at last code when a pop-up foms submits.

<script language="javascript">
alert("The File was successfully deleted.";
window.opener.location.href = window.opener.location;
window.close();
</script>

opener is the object for the your main edit page..
check some tutorials for that , if u didn't get me...
BEST OF LUCK

Reply to this topic