Hi I have the following html file with 3 Javascript functions:
I want to find a way to have function setFrame() call callPage(). Then have callPage() finish loading the iframe
then call finishedLoading(). And once finishedLoading() is complete function setFrame() will continue.
The problem is...
Hi I have a simple form I want to auto submit every 10 seconds
I want the submit it with out refreshing the whole page.
i.e. I tried the following but it refreshes the whole page first
function setup(){
window.setInterval("submitform()",10000);
}
function submitform()
{...
Hi,
I used the code posted by Xaqte
It works fine on its own but I get the following printed out in my script:
Time::tm=ARRAY(0x1c3148)[Time::tm=ARRAY(0x1c3148)]
Hi I want to be able to print out the date in a formatted string
The format doesn't particularly matter
Something like this
Tue Mar 28 16:02:04
I read about localtime??
print "$localtime
Hi my perl program prints the options allover the place
print <<EOUSAGE;
Usage: option 1
option 2
option 3 etc..
EOUSAGE
However it doesn't print to the xterm in a formatted way.
i.e. it isn't lined up like above.
Is there a way to keep the output in line like above?
Thanks in...
I have a function as follows:
function setFrame(){
loadFrame();
alert("frame loaded");
}
function loadFrame(){
var iframe = document.getElementById("myIFrame");
iframe.src="http://www.google.ie";
}
The problem is that the alert message appears before the iframe has loaded the google...
That is not an option for me as the getFieldValue needs to return to another function which basically gets all the values of the fields in the page and posts them off to another servlet.
The approach I'd like is to find a way to get the callServlet
function to wait for the iframe to load.
I have the following three functions
function getFieldValue(fieldName) {
var myField = document.getElementById(fieldName);
callServlet(myField);
return myField.value; //doesn't wait
}
function callServlet(myField){
var url = '/EvaluationLibrary?settingField='+myField;
var...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.