Jump to content

bobbyrabbit

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bobbyrabbit's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I have an applet which uses ASCII figures for applet functions eg. <PARAM NAME = "REWIND_KEY" VALUE = "49"> <PARAM NAME = "RECORD_KEY" VALUE = "50"> <PARAM NAME = "PLAY_KEY" VALUE = "51"> <PARAM NAME = "PAUSE_KEY" VALUE = "52"> This equates to using CTRL+1 for Rewind and CTRL+2 for Play etc. Is it possible to use the F-Keys instead, I appreciate the F-Keys are used for browser functions.
  2. Apologies, posted to Javascript section, please close this thread.
  3. I'm trying to post to 2 fields in the MySQL Database: I'm generating data from fields DocTitle and DocCost in table 'worktype' in a dropdown box which is working fine. I am trying post this info to another table 'bidrequests' using the same field names on submitting the form. I think the problem is that I'm trying to post more than 1 peice of info via the form. The data to upload is part of an Applet. On clicking the submit button I am getting javascript error Object Required. Here is the code, thanks for any help: document.InterfaceApplet.SETPARAMETER ("DocTitle", document.getElementById("WorkType").value); document.InterfaceApplet.SETPARAMETER ("DocCost", document.getElementById("WorkType").value); ------------------------------------------------------------------------------- <select name="WorkType" id="select"> <?php $selected = ""; do { if (isset($_POST['WorkType']) && $row_rsDocTitle['DocTitle']==$_POST['WorkType']) $selected = "select"; else $selected = ""; ?> <option value="<?php echo $row_rsDocTitle['DocTitle']?><?php echo $row_rsDocTitle['DocCost']?>" <?php echo $selected; ?>><?php echo $row_rsDocTitle['DocTitle']?> - <?=$CurrencySymbol?><?php echo $row_rsDocTitle['DocCost']?></option> <?php } while ($row_rsDocTitle = mysql_fetch_assoc($rsDocTitle)); $rows = mysql_num_rows($rsDocTitle); if($rows > 0) { mysql_data_seek($rsDocTitle, 0); $row_rsDocTitle = mysql_fetch_assoc($rsDocTitle); } ?> </select>
  4. I'm trying to post to 2 fields in the MySQL Database: I'm generating data from fields DocTitle and DocCost in table 'worktype' in a dropdown box which is working fine. I am trying post this info to another table 'bidrequests' using the same field names on submitting the form. I think the problem is that I'm trying to post more than 1 peice of info via the form. The data to upload is part of an Applet. On clicking the submit button I am getting javascript error Object Required. Here is the code, thanks for any help: document.InterfaceApplet.SETPARAMETER ("DocTitle", document.getElementById("WorkType").value); document.InterfaceApplet.SETPARAMETER ("DocCost", document.getElementById("WorkType").value); ------------------------------------------------------------------------------- <select name="WorkType" id="select"> <?php $selected = ""; do { if (isset($_POST['WorkType']) && $row_rsDocTitle['DocTitle']==$_POST['WorkType']) $selected = "select"; else $selected = ""; ?> <option value="<?php echo $row_rsDocTitle['DocTitle']?><?php echo $row_rsDocTitle['DocCost']?>" <?php echo $selected; ?>><?php echo $row_rsDocTitle['DocTitle']?> - <?=$CurrencySymbol?><?php echo $row_rsDocTitle['DocCost']?></option> <?php } while ($row_rsDocTitle = mysql_fetch_assoc($rsDocTitle)); $rows = mysql_num_rows($rsDocTitle); if($rows > 0) { mysql_data_seek($rsDocTitle, 0); $row_rsDocTitle = mysql_fetch_assoc($rsDocTitle); } ?> </select> ----------------------------------------------------------
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.