cheers to you both -
jpadie's code seems to be working - but its still showing up all results rather than the searched - i'm going to play around with it for a while and see if I can see what I've done wrong - I've had to change the $option strings cuz I have already declared $option for another...
I'm trying to perform a search on an SQL table using the code below - but it fails to work.
I have a form when a user can search/filter using multiple variables i.e. locations, industry, job type.
If i do a simple select statement using a WHERE with only one variable it works fine and if i set...
Does anyone know how / or any software that can be placed on a print server (Windows Server 2003) that would monitor print jobs ?
The situation I face is having a variety of printers - some cheaper to run than others. One department has a high cost printer which is to be used for printing from...
Thanks Lee - it worked a treat
here's the full code for anyone interested :
<script>
function whichButton() {
var group1Checked;
var myString = "155,12,3,22,18,19,55"; // set the option IDs that need checking
var mySplitResult = myString.split(","); // Split the Option IDs into variables...
thanks Lee.
I was doing a document.write to see if the script was getting that far, I'll take it out and see what happens.
will creating an array of numbers without making the string and splitting it allow me to have a variable (the radio button value) check to see if it is one of the numbers...
Hi,
I've been hacking away at a script to determine if a radio button value is in a list of numbers
Using support from other in the ASP section of the site and from other tutorials on the net and came up with :
<script>
function whichButton() {
var group1Checked
var myString =...
Thanks George also,
I discovered that I would be better to write this is Javascript as I would need a "onclick" check rather than a page submission check (i basically want a field to appear when a radio button of a certain value is selected)
I don't know if you are any good at Javascript as...
Howde,
If there an easier way of creating an IF statement to check if a variable is in a list rather than doing an ELSE statment.
I have a list of numbers e.g. 22, 44, 3, 54 etc
I need to know if a variable "ID" is a number inside these numbers.
Since the list of numbers will change...
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.