I am calling the DoQuery() and AddRecord() APIs from the JavaScript. It works like a charm in chorme, However, its throwing me error in IE.The error it throws on the console: : 'XPathEvaluator' is undefined. Any ideas on how to get this working?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">;
<html>
<meta http-equiv="X-UA-COMPATIBLE" content="IE=Edge,chrome=IE8,IE10">
<body>
<script type="text/javascript" src="/js/QuickBaseClient.js"></script>
<script type="text/javascript">
var qdb = new QuickBaseClient();
qdb.SetAppToken("apptoken");
var fun= function() {
var rrid= qdb.parseQueryString();
if((rrid['rid'] == "")) {
alert("Error, undefined variables present");
return;
}
var rid=rrid['rid'];
var queryString = "{fid.EX."+rrid['rid']+"}";
//Do Query
//Add Query
};
fun();
</script>
</body>
</html>
Question
Javascript throwing error in IE. Works ok with Chrome.
This topic has been closed for replies.
Sign up
Already have an account? Login
Login to the community
Login with Quickbase US – quickbase.com Login with Quickbase EU – quickbase.eu
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.