Hi, Thank you both for your help with this.
I think that checkok isn't a global variable as it seems to be only within the function.
Excuse my lack of knowledge with this (I'm a designer not a programmer! :) ) but if I were to declare checkok as a global variable so it works outside the...
I am trying to get the value of a variable from another frame called middle which has a procedure called validform() in it. Within this function is a variable called checkok.
I am using the following function called fom a button, in the other frame called bottom, which tries to call the...
If I call the onsubmit() and add the following to the end of the procedure, why doesn't this work?
if (err==0){return false;}
else {return true;}
}
Hope someone can help?
Thanks
I have tried that, but it doesnt seem to work. I can get half of it done, getting the form validation to run from the following code...
function submitform(){
parent.middle.document.faultform.onsubmit();
}
but then I also need the form to submit if no errors are found as I have unsussefully...
Hi,
Basically I have 2 frames called middle and bottom the middle frame holds a form and the bottom frame holds a javascript form submit buttom.
<a href="javascript:parent.middle.document.faultform.submit()">Submit</a>
If I click on this it submits the form fine, however there is a...
Hi,
Basically I have 2 frames called middle and bottom the middle frame holds a form and the bottom frame holds a javascript form submit buttom.
<a href="javascript:parent.middle.document.faultform.submit()">Submit</a>
If I click on this it submits the form fine, however there is a...
I am using the code below to track hits from banners, It works but if I use the RS.Close at the end to close the recordset object it throws up an error:
Operation is not allowed when the object is closed.
/click/clicks/redirect.asp, line 23
But if I remove the RS.Close the it works fine ...
HOLD ON- I figured it out from other snippets of code, But there is an issue.
<%
SiteURL = Request.QueryString("URL")
site = Request.QueryString("site")
city = Request.QueryString("city")
Set DataConn = Server.CreateObject("ADODB.Connection")
Set RS = Server.CreateObject("ADODB.RecordSet")...
I have just realised that my last post made little sense, basically what I need to do is:
1- Check records in table to see if same data for corresponding site and city are already there
2- If data exists as above then update the clicks +1 and stamp the new date on it
3- if no data exists...
Hi,
I am using an access database by the way.
Tarwn,
I have checked the primary key and it was set to site. If I have no primary key all the hits are recorded, but individually. The ones that match the fields of site and city dont just increment the clicks value by one. As you said "As long as...
Hi,
I have the following asp page that processes data submitted from links in other pages.
<%
'declare variables passed from links
SiteURL = Request.QueryString("URL")
site = Request.QueryString("site")
city = Request.QueryString("city")
If Len(SiteURL) > 0 Then
Set objConn =...
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.