Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Chad Gary

I have a selection box that allows me to select muliple items. I'm trying to use the click event handler to send an array of multiple selections back to the server using the $.ajax function and I'm having some issues. Please help. Below is my html, javascript code, and PHP …

Member Avatar for Chad Gary
0
1K
Member Avatar for Chad Gary

I'm not having this issue with Mozilla Firefox, but it seems that the results of the code below are being cached in EI 8. When the browser makes another asynchronous call to the server with different results from the database, those results are not being displaying on the wepage. How …

Member Avatar for parry_kulk
0
94
Member Avatar for Chad Gary

I'm using the below code to create an html file using fopen and fwrite. In the html source code I trying to add carriage returns using \n, but I'm not having any luck [CODE] $filename = 'textfile.html'; $newstring = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n' $newstring .= '<html …

Member Avatar for pritaeas
0
60
Member Avatar for Chad Gary

I have the following html form where the user enters username and password. I'm using ajax to send the values to a php page and in return depending on what the username and password is the php page sends a request back. It send a T if the username/password combination …

Member Avatar for Atli
0
104
Member Avatar for Chad Gary

The below mysql query yeilds the following result: [CODE]SELECT COUNT(ProgramType) AS Counter FROm credential_state GROUP BY ProgramType;[/CODE] Results: Counter 4 7 7 I would like return the max from the above (7). The following query is giving my an error that says: Every derived table must have its own alias. …

Member Avatar for darkagn
0
72
Member Avatar for Chad Gary

I have an HTML form with checkboxes. Based on the checkboxes that are selected I'm trying to contentate a query string so the select checkboxes are inserted in an IN clause in my SQL statement. I'm recieving an error that is telling me something is wrong with my sql statement. …

Member Avatar for diafol
0
92
Member Avatar for Chad Gary

Trying to turn all <p> elements to red. I'm using the following js code with prototype and I'm getting an error that says each is not defined in my firefox window. [CODE]var paragraphs = $$('p'); each(paragraphs, function(element) { element.style.color = "red"; });[/CODE] Html Code: [code=html]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" …

0
49
Member Avatar for Chad Gary

[QUOTE]I'm currently using prototype framework to validate whether or not a field is has data. When the field is empty and the user hits the form submit button the intended alert message box comes up, but after you hit OK on the message box it submits the form anyway, which …

0
52
Member Avatar for Chad Gary

I have the following PHP code, which uses server-side validation, which works fine. It the user leaves the text field empty it stores an error in a session array which is outputted on the page where the $_GET['id'] variable came from. I also implemented a snippet of javascript code that …

Member Avatar for ShawnCplus
0
130
Member Avatar for Chad Gary

The below function works perfectly fine, but in my attempt to add a scope queue to the doSomething2() function so I can give it a scope of 'nbaeffect' like doSomething3() and apply a limit of 2 to both in order to supress the amount of effects that are queue, nothingd …

0
81
Member Avatar for Chad Gary

I have the following nested javascript collection (below) and I'm trying to access the information within the collection using prototype so I can properly style and layout the data. I'm stuck and would like to know if anybody could assist. [CODE]var teams = { "team1:" { "QB": "Alexander Hamilton", "RB": …

Member Avatar for Chad Gary
0
201
Member Avatar for Chad Gary

[CODE]<?php if (isset($_POST['submit'])) { $id2 = $_POST['credential_category']; $form = '<form action="' . $_SERVER['PHP_SELF'] . '>"' . 'method="post">'; $form .= '<p> Please Enter Your Credential</p><br/>'; $form .= '<label>Credential:</label><br/>'; $form .= '<input type="text"' . 'name="credential"' . 'size="40">' . '<br/><br/>'; $form .= '<input name="submit2"' . 'type="submit"' . 'value="Submit" />'; $form .= '</form>'; } …

Member Avatar for Spine
0
84
Member Avatar for Chad Gary

This is an AJAX/Prototype problem, which is independent of the server-side scripting language I'm currently using. I have the following multi-demensional nested array, which I have successfuly turned into a JOSN Object as such: [CODE][{"PlayerName":"Ron Artest","Positn":"Forward","Height":"6-7 l","Weight":"260","College":"St. Johns"}, {"PlayerName":"Kobe Bryant","Positn":"Guard","Height":"6-6 l","Weight":"205","College":"Lower Marion High Sc"}, {"PlayerName":"Andrew Bynum","Positn":"Center","Height":"7-0 l","Weight":"285","College":"St. Josephs"}, {"PlayerName":"Pau Gasol","Positn":"Forward","Height":"7-0 …

0
68
Member Avatar for Chad Gary

I'm having difficulty trying to return a multi-demensional array using Javascript Prototype's Hash Object. I have been able to return the values of the following associative php array using JSON and Javascript Prototype's Hash Object: php array [CODE]$player = array( 'PlayerName' => 'Ron Artest', 'Position' => 'Forward', 'Height' => '6-7', …

Member Avatar for Airshow
0
73