[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
Page 1 of 1

AJAX client lookup

PostPosted: Mon Jan 29, 2007 1:52 pm
by troffy

PostPosted: Mon Jan 29, 2007 2:32 pm
by troffy
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

PostPosted: Mon Jan 29, 2007 3:11 pm
by troffy