hi all,
i have installed apache tomcat 5.5. i have 5 different java classes. and i have a postgresql database.
i am not sure how do i set all of these together to get a simple jsp form running. i know that i need a file.html whose form action calls file.jsp; and i know the file.jsp will call...
i was able to do this with javascript settimeout; very easy; here is what i did:
i had a form:
<form action="download.php" name="myForm">
<input type="hidden" value="envelope" name="aFormat">
<input type="hidden" value="" name="aDate">
</form>
and this where the trick was:
<td>
<a...
ok i changed my code around to use forms but i am still unable to get the values:
<form action="download.php" name="myForm">
<input type="hidden" value="$dateCreatedNotFormated" name="date">
<input type="hidden" value="letter" name="format">
<input type="hidden" value="" name="someDate">...
yes with the exception that i want someDate's value to be the onclick="someDate.value='whatever i assigned it to'".
ok so will var someDate's value be 'whatever i assigned it to'?
thanks
here is what i am doing.
in my html file i have these:
<script>
setTimeout('downloadEnv(someDate)',5000);
function downloadEnv(created)
{
document.location="download.php?date=" + created;
}
</script>
<html>
<td>
<a href="download.php"...
thanks for all your responses, but i am getting error that "document doesn't support this property or method", i am using IE 6.0.
<body onload=setTimeout("document.forms['form_values'].submit()",5000);>
hi all,
i am doing a transaction processsing; my code is in php, javascript, and of course html;
once my customers click to place an order i sent them to a page called process.html telling them their transaction is being processed; this is just a an html page with lots of hidden form elements...
thanks, but something weired is happening:
document.grantsForm.submit(); doesn't submit, but a new window opens with the window.open(blablabla), why, help.
onClick="document.grantsForm.submit(); window.open();"
thanks for all your responses
i did this already and it still doesn't work!
<SCRIPT>
function openWin()
{
document.grantsForm.submit();
Window.Open("add.php","Collaboration","width=600,height=400");
}
</SCRIPT>
<INPUT type="button" value="+" onClick="openWin();" class=button id=$gID>
i cannot open a new window still...
<script>
function openWin()
{
document.myForm.submit();
Window.Open("add.php','Collaboration','width=600,height=400");
}
</script>
<INPUT type="button" value="+" onClick="openWin();">
with this, i still can't open a new window
it is php; sorry.
$ is how you begin to declare a variable in php . ok ignore the tags or the parsing of the variables, but i still can't open new window.
thanks
thanks for the help, but somehow i am not getting the window to be opened:
<script>
function openWin()
{
document.myForm.submit();
Window.Open("add.php?id=$theID&screen=group&sid=$gID','Collaboration','width=600,height=400");
}
</script>
<INPUT type="button" value="+"...
hi,
i am working on this form:
in the form i have a button, when you click on the button, a new window is opened, but before a new window is opened, it submit the form fields. for a new window to be opened, i parse the new window link with an id.
problem, id is blank as an id is auto...
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.