[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - AJAX client lookup
Advertisement

AJAX client lookup

Moderators: Calcifer, slothy

AJAX client lookup

Postby troffy » Mon Jan 29, 2007 1:52 pm

troffy
 
Posts: 3
Joined: Mon Jan 29, 2007 1:38 pm

Postby troffy » Mon Jan 29, 2007 2:32 pm

Hi Chris

Thanks fro your reply! So far it seems to work like you said however with I type in anything but 4 numbers its not displayed.

Looking at the code, it seems to be set with this 'clientId.length==4'

This is found in the JS that sits in the head of the page

var clientId = document.getElementById('clientID').value.replace(/[^0-9]/g,'');
if(clientId.length==4 && clientId!=currentClientID){
currentClientID = clientId
Last edited by troffy on Mon Jan 29, 2007 3:08 pm, edited 1 time in total.
troffy
 
Posts: 3
Joined: Mon Jan 29, 2007 1:38 pm

Postby troffy » Mon Jan 29, 2007 3:11 pm

troffy
 
Posts: 3
Joined: Mon Jan 29, 2007 1:38 pm


Return to Questions regarding other scripts at www.dhtmlgoodies.com

Who is online

Users browsing this forum: No registered users and 7 guests

cron