Displaying 2 results from an estimated 2 matches for "h8qh2m8e5shqt0dzr".
2007 May 20
2
Get first class name
I have a situation where I need to get the first class name of an
element.
Element.ClassNames() returns an object not an array...
Object.values() will turn it into an array, but the API Docs say that
the order of the resulting array is browser-dependent.. So for my use
is no good...
So I am using:
el.className.split(" ").first();
Can any one see any problems that I might
2007 May 17
5
AJAX, PHP and scriptalicious
Hey,
I''m brand new to AJAX and scriptalicious, so i''m hoping for some help.
inside hello.php
I have this piece of code to grab and loop out users in the database:
function test(){
$query = mysql_query(''SELECT * FROM `testing`'');
while($i = mysql_fetch_row($query))
{
echo''<div class="testie">'';