squiblo Posted August 27, 2010 Share Posted August 27, 2010 Im doing something wrong, something simple but I dont know what.... this line is just not working setInterval("read_chat(" + chatname + "," + number + ")", 500); Thanks Quote Link to comment Share on other sites More sharing options...
Alex Posted August 27, 2010 Share Posted August 27, 2010 Strings need quotes around them. This should work (assuming chatname is a string and number is numeric): setInterval("read_chat('" + chatname + "'," + number + ")", 500); [/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.