ie(5.5) is displaying my xhtml page as source. I am using the following declarations:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">...
perhaps you could try putting some of your variables into hidden fields?
<input type="hidden" name="name" value="<%= myVariable %>">
Andy
Hi there
I am having trouble with some arithmetic e.g.:
2 / 60
which should give me:
0.033333333...
but the variant I get has the subtype Double:
3.33333333333333E-02
which is no good because I want to turn it into a string.
I don't want to convert to an integer, because of rounding up...
Hi there
I am having trouble with some arithmetic e.g.:
2 / 60
which should give me:
0.033333333...
but the variant I get has the subtype Double:
3.33333333333333E-02
which is no good because I want to turn it into a string.
I don't want to convert to an integer, because of rounding up...
hi there
I am pulling strings out of the database and then checking to see if they are null or not.
I have tried both of the if-then staements below but it still recognises the string as not null even if it is null.
if not IsNull(strThis) and strThis <> "" then
code
end if
if...
I have this code which puts the selection from a list box into a textbox. But I have more than one textbox on the page and want the selection to go into whichever textbox has focus. Any help greatly appreciated.
function handleListChange(theList) {
var numSelected = theList.selectedIndex ...
hi
can you tell me how to get the cursor to go to the top left corner of a textarea when it is clicked in, at the moment the cursor, in my textarea, stays where you click.
thanks andy.
I want to save an XML file made from a recordset.
The code below makes a text file but the format is anything but XML, it comes out looking like a mess.
Any ideas what I'm doing wrong?
<%
Set rsPerson = Server.CreateObject("ADODB.Recordset")
rsPerson.Open "Person", db
Dim...
I want to save an XML file made from a recordset.
The code below makes a text file but the format is anything but XML, it comes out looking like a mess.
Any ideas what I'm doing wrong?
<%
Set rsPerson = Server.CreateObject("ADODB.Recordset")
rsPerson.Open "Person", db
Dim...
Hi there
I keep getting an error telling me that there are "too few parameters" in the second sql statement below. But the table name and all the db field names are correct. Also the two strings being used are making it to the line of code.
Dim oCmd, sql3
Set oCmd =...
I want to have names on a page that, if clicked on, will be added to a list of names in a textbox.
Could you help me with the code for this?
Thanks andy
I'm afraid I,ve tried these already:
strBlah = Replace(strBlah, ", "ANDquot;") (AND=&)
strBlah = Replace(strBlah, """, "ANDquot;")
But I get an error, the " in either case is seen as an end or beginning.
I was hoping there might be something like...
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.