Hi,
I have a dropdown menu and a listbox on a web page. Depending on the value selected in the dropdown menu I would like to enable and disable multiple select in the listbox.
Does anyone know if this is possible using JavaScript? I don't want to have to rebuild the page each time.
Many Thanks
Hi,
I have a JavaScript function:
function returnNextPage(nextPage) {
//alert(nextPage);
//document.SearchUser.action = nextPage;
document.SearchUser.action = "/AdminTools/unlockUserResearchAccount";
document.SearchUser.submit();
}
//-->
When I call this function on the submit of a...
Hi,
I have just started looking into XHTML recently and I am getting mixed messages from different web sites about Microsoft Internet Explorer's support for XHTML.
Could anybody please point me in the direction of something definitive?
Does IE display XHTML pages properly?
- Any issues...
Many Thanks for that PH,
That seems to have done the trick! You wouldn't believe how long it has taken me to find out that syntax.
Would you be able to point me to any good web site which explains all of the logical operators which can be used in unix scripting?
Thanks again
Hi I want to include a simple logical OR expression in an if statement but I cannot find the correct syntax.
I have tried pipe (i.e. |) amd -a but can't seem to get either to work.
Here is what I have:
if [test ! -f "$location/parse.txt" -a $sizeOfParse = "0"]; then
I am using #!/bin/sh
Could...
Hi,
I have been having intermittent problems with an MS Access 2000 front-end application linked to a SQL Server 2000 database recently.
From the switchboard a user was sometimes getting "There was an error executing the previous command". When she closes the application and opens it again it...
Sorry, just after realising what the problem is: the apostrophe in the word "doesn't" was causing some confusion. I have removed it and it is now okay.
Thanks
Hi,
Could somebody please let me know if the following code is a valid way for checking if a file DOES NOT exist:
if test ! -f "$location/parse.txt" ; then
echo parse file doesn't exist
load_data
fi
I am using the bourne shell. I have been...
Thanks for your help LKBrwnDBA
Your first suggestion seems to work.
I tried a few scenarios and it returns an error code greater than zero if there is any problem with the SQL Load e.g. primary key violation, incorrect password, incorrect instance name ....
Hi,
I have a Unix script, from which I call SQL Loader to load data into an Oracle database. I then want to run some more commands after this but only if the SQL Loader insert completed successfully.
Is there any way I can tell from my Unix Script whether or not the SQL Loader insert completed...
Hi,
I have a log file which is being continuously updated. Being a log file alot of the entries are repeated each time a user performs an action. Note not all lines in the file are time stamped.
I take a copy of this log file at x mins and then take another copy of the log file in x + 10 mins...
Thanks a million for that Salem.
I am impressed with that solution .. very clever!!
I will use your solution but just to clarify something ...
if we have 2 files
file1:
x
y
z
1
2
3
file2:
x
y
z
1
2
3
y
z
1
2
x
y
z
Could diff get confused with the repetition in this file. I would expect...
Hi,
I have 2 files:
file 1 contains:
x
y
z
file 2 contains:
x
y
z
1
2
3
I am using the diff command to compare the 2 files so that I can get the differences between the 2 files. File 2 will always have extra data appended to it so the difference will always be the last few lines. In the case...
Thanks very much for your help Dan.
One thing that is still puzzling me. I have the javascript and html on 2 web servers (production and test environment). It works fine in the production environment - page/action is only called once. However, on the test environment the page/action is called...
Sorry, just trying to keep it as simple as possible..
The complete form is:
<form id="prices" method="POST" action="" >
<input
name="ticker" class="prices-charts"
onfocus="if(this.value==' enter company name:')this.value='';setfocus(2);"...
Thanks Dan,
Still a little confused ...
The form is as follows:
<form id="prices" method="POST" action="" >
onclick="return submit_PricesCharts();
</form>
The Javascript function is:
function submit_PricesCharts() {
document.forms["prices"].action =...
Hi,
I have a Javascript function which contains the following condition:
else {
document.forms["prices"].action = '/public/GenericPublicPage?page=careers';
document.forms["prices"].submit();
return true;
}
Based on some testing that I have been doing it seems like the each of the lines...
Hi Dan,
Many Thanks for that. I had another element on the form called action. When I renamed it - that fixed the problem.
Your speedy response saved my sanity!!
Thanks,
Hi,
I am having trouble setting the form action in Javascript. I have tried it a few different ways but I am getting the error "Object doesn't support property or method:
document.SearchUser.action = '/AdminTools/jsp/private/deleteClientSearch.jsp';
document.forms[0].action =...
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.