Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. tommo6210

    select() statement and IE jumping to URL bar

    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...
  2. tommo6210

    htaccess rule

    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...
  3. tommo6210

    htaccess rule

    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...
  4. tommo6210

    htaccess rule

    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...
  5. tommo6210

    Group By All

    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...
  6. tommo6210

    Iterating through radio button objects (multi-dimensional)

    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.
  7. tommo6210

    Iterating through radio button objects (multi-dimensional)

    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 =...
  8. tommo6210

    Iterating through radio button objects (multi-dimensional)

    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...

Part and Inventory Search

Back
Top