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

    dynamically adding and deleting input boxes

    Ah yes that works! Thank you very much. The limit of 10 was just me messing around. Not checked server side as it is not important but a good point regardless! Much appreciated. Joe
  2. shifter480

    dynamically adding and deleting input boxes

    Apologies - Line: var newdiv = document.createElement('div' + (counter)); should be var newdiv = document.createElement('div');
  3. shifter480

    dynamically adding and deleting input boxes

    Hi, I currently have some JS that allows me to dynamically add input boxes. Once submitted each dynamically added box value is added to an array. I want to add a button that will allow me to delete the last dynamically added box. Here is my attempt <script language="javascript"...
  4. shifter480

    SQL query logic problem

    Ok thank you for your help I shall go off and test some more. I may be back though!! Joe
  5. shifter480

    SQL query logic problem

    Well - Good question.. No results came back (as they would with no facilities selected) so thats a good start. However admittedly I need to add some more test data. I just wanted to know if I have the logic correct before I start changing my php code. :-)
  6. shifter480

    SQL query logic problem

    Yes what you are saying makes sense, sort of.. So with this in mind, would this query achieve the following. WHERE region = 'scotland' AND course_type.course_typeid ='1' AND town='ascot' AND country='UK' AND we have a yes in one or many of these fields...
  7. shifter480

    SQL query logic problem

    Hi, I have a query which I dont know how to solve.. The problem is that I am adding some data to this dynamically. These are the facility fields at the bottom "AND library = 'yes' OR garden = 'yes' OR language_lab = 'yes' OR self_study_center = 'yes'". The trouble is that the facilities seem...
  8. shifter480

    Getting a value from an html select which is not in a form

    It works WOOHOOO Thank you very much!!
  9. shifter480

    Getting a value from an html select which is not in a form

    By the way I have tried both getElementsByName getElementById as I know that the getElementById refers to the id which is in the select. Neither of them work
  10. shifter480

    Getting a value from an html select which is not in a form

    Hi, Thanks, I see what you mean but am i missing something as it is now returning this... [object HTMLSelectElement] function GetAllDetails(str) { xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Browser does not support HTTP Request"); return; } //var level =...
  11. shifter480

    Getting a value from an html select which is not in a form

    Hi, Is it possible to get the value from an html select if it is not in a form For example i have this code which is php. echo '<label>Course Level: *</label>'; echo "<select name='courselevel'><option value=''>$courseLevel</option>"; $last = ""; while( $row = mysql_fetch_array(...
  12. shifter480

    RewriteRule help

    Hi, I am having some trouble using a perl cgi script to perform some desired functionality. My code is as follows: Options ExecCGI FollowSymLinks Includes MultiViews RewriteEngine on RewriteRule ^/NORTH_090518(.*) /C:/Projects/441/Source/nph-xredirect.cgi/$1 \ [T=application/x-httpd-cgi,L]...

Part and Inventory Search

Back
Top