Hi All,
I am trying to send some values to a python script using an AJAX call. The AJAX is calling the script properly because if I plug the values directly into the script it executes properly.
The problem I am having is when I try to send the values to my script by embedding them in the...
Hi All,
I have been wrestling with trying to get a simple python script to run on the click event of an HTML button. Here is the python script:
#!C:\Python27
import kipro
client = kipro.Client('http://10.221.14.161')
client.play()
It issues a "play" command to a remote VTR. I have the...
Hi All,
I have a script that runs on my page load and pulls some data from a database to build a table with.
function makeTable(tableID){
var str = "<?php echo $row_rstRequestDetails['tblEquipRequestID']; ?>";
var body = document.getElementsByTagName("fieldset")[0];
var tbl =...
Hi Everyone,
I have this query to count how many support requests are made within a given date range:
SELECT tblequipissues.EquipType, tblequipissues.Issue, tblequipissues.IssueDate, tblequipissues.FixedDate, tblequipissues.EnteredBy, COUNT(tblequipissues.EnteredBy)
FROM tblequipissues
WHERE...
Hi All,
I have a table with three checkboxes that I want to query. I need to be able to check any box (or boxes) and return records where the box/boxes is checked, but not records where it is unchecked.
I tried this but it keeps returning all records, regardless of the checked status:
(chk1...
Hi All,
I have a form that populates search criteria in a query query. I want the user to be able to select a date range if they want to but also be able to use other search criteria and not use the range. My query seems to only be working if the date range fields are filled. Otherwise no...
Hi All,
I have this code to authenticate users on an active directory server and then query a table on my database that contains their user level. For some reason I am not getting any records returned when I run the query in my script but if I run it directly in MySQL i get back the expected...
Hi All,
I have created a query in php. The idea is that the user enters search criteria into some (but not necessarily all) text fields on my form and the form gets posted to my PHP page containing this query:
$query ="SELECT *
FROM tblequipissues
WHERE Location LIKE '%$Location%'...
Hi All,
I am creating a report using tables and nested "do... while..." loops. On the inside loop, I have only the <tr> that I want to loop set within the "do... while..." statements but for some reason I am still getting the header and footer rows and table caption looping. I believe it has...
Hi All,
I have a search form that has a checkbox on it. I want the user to be able to query the database for this checkbox in three states, as follows:
1. The box is checked (return records where only the box is checked).
2. The box is not checked (return records where only the box is not...
Hi All,
I am using the following in a repeating region table cell to return some values from my database:
<td><script>document.write(CnvToFrames("<?php echo $row_rstSegmentInfo['EOM']; ?>")-CnvToFrames("<?php echo $row_rstSegmentInfo['SOM']; ?>"));</script></td>
I am trying to sum these...
Hi All,
I have a form field that populates a column in my database with a unique value. What I am trying to do is write a function that will be called on the form field's onblur event to initiate a query of the database column for the form field's value, pop-up an alert box if a match is found...
Hi All,
I have some code to check two text fields and submit a form if the fields match (it's to verify passwords). I don't know why but I am getting an "Object doesn't support this property or method" on the submit method. I tried it as shown below, as well as:
document.frmAddUser.submit()...
Hi All,
I have a function that I have been working on to dynamically (based on the user's selection in a drop list) enable and destroy spry validation for a couple of text fields (while also showing or hiding these fields). This part is working great but what I would like to do is if the user...
Hi All,
I hate to ask such a basi question but is there any function or method to delete an html table? I have tried destroy(), removeChild() with no luck. I created a function that dynamically creates a table and adds rows to it. The code is called via a checkbox. I would like, if the user...
Hi All,
I have the following javascript code to dynamically create a table and populate it with data. Each time the user presses the "Add Row" button on my form, the addrow function is called and a row containing their data is added to the table. Here is the code:
<SCRIPT...
Hi All,
I am having a hard time getting SQL transactions to work in PHP. I am using the following code in my form's process.php file and I am being redirected to the success.html page but when I check the database, there is no data being written to the tables. If I remove the transaction and...
Hi All,
This is my first post and I am fairly new to javascript and web development. I am working on a script to generate a dynamic table and populate the fields in that table with data from a number of text fields on my page.
The page uses Adobe spry validation and this is the only way I...
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.