so here on my homepage i got a
<ul id="login">
<li> <a id="loginswitch" href="./login-page">log-in</a> | </li>
<li> <a id="signupswitch" href="./signup-page">sign-up</a> </li>
</ul>
so via mootools, i get these anchor elements by id so that once they're clicked, a flashy div will popup below them that contains the login or signup ...
I am trying to autoreload my page after every 20 seconds. I am using JavaScript for this instead of the <meta>.
I have <body onload="SetTimer()">
and here is my JavaScript function
function SetTimer(){
setTimeout('window.location.replace(window.location.pathname)', 20000)
}
Now my problem is I also pass a parameter wi...
I have a html page A and a link in the page which opens up page B in a new window. How to reload the page A on clicking and opening this link ?
EDIT:
I should have been more clear. Page B opens in a new window and not as a popup. The hyperlink in question has its target attribute set to _blank. Taking a clue from the answers that I go...
I have a long-running python server and would like to be able to upgrade a service without restarting the server. What's the best way do do this?
if foo.py has changed:
unimport foo <-- how do I do this?
import foo
myfoo=foo.Foo()
...
We have a VB project that loads a reference to a .Net dll (which we also make). Both projects are being simultaneously developed.
When we add new classes to the referenced dll, the main project normally fails to notice the changes.
That is, if we added a new class Bar to the Foo dll, we should be able to type "Foo." and have Bar listed...
I want to reload a page using:
window.location.reload(true);
But I receive the POSTDATA warning because the refresh function want to resend previous POST form data. How can I refresh my page without this warning?
UPDATED: I have no control of the project! I can't workaround the POST itself!
...
I have a service, say foo, written in C++, that runs as root. There is the usual scrip, /etc/init.d/foo start|stop|restart.
At certain times, foo needs to reload itself. Normally after an upgrade has finished. But doing things like:
system("/etc/init.d/foo restart")
doesn't work since as soon as restart kills foo, the system() cal...
When I have a UITableView as part of the visible view controller, how can I reload it so that the data I am looking at changes to the new data. Just calling reload doesn't seem to refresh the data until I scroll it.
...
How to reload a crashed process on Windows? Of course, I can run a custom monitoring Win service process. But, for example, Firefox: it doesn't seem to install such a thing, but still it can restart itself when it crashes.
...
Hey,...very simple question
I usually write php but happen to be programming with ASP.NET 3.0 framework now and can't figure out how to fix this.
I have a DropdownList and if I selected a some value,...my code behind does a bunch of stuff and outputs the data......
Now,...if I reload the page (ie. press F5 or the little reload thing o...
Does anyone know if while Apache HTTPD is doing a reload (which, let's say, takes five seconds) can it still serve requests during that time?
...
Hi,
How would I reset my asp:DropDownList element (which has a runat="server") to index 0 every time the page is "reloaded" in firefox (F5 is pressed).
If you suggest using javascript...please note that A: I am not using a form and B: I don't know how to access elements that have a runat="server" with javascript
If this can be done us...
I'm trying to load a uitableviewcontroller after a location is found. This also means after the viewdidload method. my class is extending a uitableview controller with this interface:
@interface RootViewController : UITableViewController
{
in the implementation I try to do a reload of the table view with:
[s...
Is there a way to have mod_wsgi reload all modules (maybe in a particular directory) on each load?
While working on the code, it's very annoying to restart apache every time something is changed. The only option I've found so far is to put modname = reload(modname) below every import.. but that's also really annoying since it means I'm ...
I tried this, and it just reloads to nytimes.com Any ideas?
<div style="position:absolute; top: 0; left: 0; width:80%; height:100%; background-color:white">
<iframe border=0 width=50% height=1000 src="http://nytimes.com/"></iframe>
</div>
...
Google has indexed my .swf file, so it’s loading by itself in a browser
( example.com/FL_map_page.swf )
I need for the .swf to check to see if it is loaded on the .html page and if not switch to the correct page.
...
I'm trying to reload a table which was also generated by PHP.
The table has an ID: #bookmarks
After the user pressed a button, the table should reload the content + the data they have just added. I'm a bit confused because I don't know how to send all of the data from a PHP result.
Thanks,
James
...
Hi,
I'm in need of a way to force a postback or page reload in codebehind. Tried using some javascript but didn't get it to work. Browsing the net I see the first question is "why"?
Circumstances are that I have a dropdownlist on autopostback, and the gridview datasource's selectparameter is derived from the selected value of that drop...
Hi,
I'm implementing a notes manager application which has a tableView in a tabBar where the main information of its notes is displayed. When accessing to one note, you can edit its properties. In one button of the tabBar you can choose the way the notes are displayed in the tableView.
The problem I have is that I don't know how to re...
I have a div that is generated html via Expression Engine. I'm using ajax submit:
$('#login-form').ajaxForm({
// success identifies the function to invoke when the server response
// has been received; here we apply a fade-in effect to the new content
success: function() {
$("#panel").RELOAD!!();//Just refresh this...