Hi,
I want to use the element.select() statement to move the focus to a particular element, which is working fine, however in IE7, when you use the tab key to move to the next element, rather than going to it, the focus jumps up to the URL address bar, rather than to the next form element.
It...
Problem solved...
The original script that I had would have worked.
I discovered that the http referer variable isn't carried into a newly opened popup window, in internet explorer (firefox works ok).
Therefore, the htaccess script was always testing against an empty HTTP_REFERER variable...
Hi RhythmAce,
Thanks for the suggestion...
I had to remove the http:// part, otherwise I got a 500 server error.
So, I've got...
Order Allow,Deny
Allow from test.fmsystem.co.uk
But it now seems to give a 403 forbidden whether I'm linking from a page in the test.fmsystem.co.uk site or...
Hi,
I'm trying to work out how to setup a rule that I can put in the htaccess file for a particular directory, so that the files within can only be viewed if the request (link) to open the file came from within my website.
e.g. would only open if linked to from any page in the...
Hi,
I've have a query with about 15 columns in it, one of them being a count() function.
Obviously as I'm using an aggregate function I have to use the GROUP BY statement.
My question is, is there a 'shortcut' way of saying group by *all* columns except the one that I'm aggregating, to save...
Hi Dan,
Thanks again... I've got rid of the evil eval ;-)
I'm presuming it's evil because it uses a lot of resources?
Also, is there a more elegant way using JS to find the number of 'Answer[]' elements on the form?
Cheers,
Chris.
Hi Dan,
Thanks for the advice... Yes, that makes sense, and I can iterate through by having a hidden form field with the number of 'Answer' elements.. (as it isn't always a fixed number), then using eval to change the index number. The following worked:
function verify() {
var numq =...
I'm creating a form with dynamic radio buttons, which is working well when posting the form, and retrieving the results with PHP, however, I would like to validate the form to ensure at least one option from each radio button group has been selected, but I can't seem to work out how to iterate...
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.