I had this problem about 6 months ago, and I'm sure it was something to do with the return value. Don't have the code here at the moment. Maybe someone else will be able to help as I can't get the details until Monday.
Sorry I couldn't be more help.
_______________________________________
Roger...
OK, it was just an idea because that's the only difference really. The other thing you might try is:
[code<textarea rows=2 cols=20 id="ta1" onKeypress="filterKeys(); return true;">[/code]
but I'm not certain this will make much difference.
_______________________________________
Roger [pc2]
The...
In filterKeys try setting event.returnValue to true or returning true. As it stands at the moment, filterKeys has an undefined return value, which is treated as false.
_______________________________________
Roger [pc2]
The Eileens are out there
So, does your ASP does something like this (assuming VBScript)?
<script type="text/javascript">
<%
Set rs = db.OpenRecordSet("....")
While (Not rs.EOF)
%>
var <%=rs.Field("Name")%> = "<%=rs.Field("Value"%>";
<%
rs.MoveNext
Wend
%>
</script>
If so, you should be able to do this...
About the comma:
It's a binary operator when used like this:
double y = 0;
double z = 0;
double x = (y = sin(2.13), z = cos(y), sqrt(z));
which sets does:
[ol 1]
y = sin(2.13)
z = cos(y)
sqrt(z)
[/ol]
and the value is sqrt(z). Everything being evaluated left to right.
But in:
double x =...
You would need to do this on the server (using scripting: ASP, PHP, etc.). You can't do this directly in HTML (even with JavaScript). You could do it in JavaScript on the client, but the ansers to the questions would have to be visible in the JavaScript, so anyone could find them out...
You can't overload any operator with more arguments than it's normally allowed (e.g., you can't give binary + three arguments). So you can't overload the [] operator with more than one argument.
The best bet would be to have a class (say, GridRow which represents a single row of the Grid and...
If you want to set the width to, say, 50 pixels, then the following will do it:
<select style="width: 50px;" size="1">
<option value="0">First item, which is quite long.</option>
<option value="1">Second item, which is quite long.</option>
<option value="2">Third item, which goes on...
You want to open the reader without a document?
Why?
From JavaScript within the browser, you can't open other applications (think what would be possible if you could).
_______________________________________
Roger [pc2]
The Eileens are out there
Just open a new window (using the window.open() method) with a URL pointing to a PDF document. This will work as long as the user has PDF documents mapped to Acrobat in their browser.
From within a browser, the answer is no. For good security and privacy reasons, you can't control other...
From MS Access documentation for Rnd():
You need to use the Randomize statement to get different numbers each time.
You'll find that withing Access you get the same sequence everytime you open the DB but the list will be different each time you call the procedure while the DB is open. From the...
Open using CFile::modeCreate | CFile::modeNoTruncate | CFile::modeWrite (or possibly, CFile::modeReadWrite, if that's what you need). Then you must do seekToEnd() before writing to the file.
Hope this helps.
See...
Yes, the file/folder needs to be able the be read by the user.
And, IIS must have the file/folder readable.
_______________________________________
Roger [pc2]
[i]The Eileens are out there
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.