View Full Version : Check if a recordset exists

01-05-2012, 08:10 PM

Quick question for y'all,

Using javascript coding, how can you check if a recordset exists?

if (rs) { alert("yup the rs is active alright") }

this does not work,

Any ideas?



Old Pedant
01-05-2012, 08:51 PM
What *kind* of recordset?

Where did it come from?

That code you showed would only check if the variable is null or not, so even if (example) rs == 7 or rs == "wham" you'd see the message. Not too useful.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum