SSI Web javascript not working
SSI Web javascript not working
我目前有一个问题与SSI的自定义Java脚本验证功能。当一个条件不满足时,我不能让程序给我一个错误。我检查了javascript是否在我的浏览器中启用,它是。此外,我确信在调查中启用了它。我的代码看起来像这样:
var strErrorMessage= "";
var r1value = SSI_GetValue("q1_r1_c1");
var r2value = SSI_GetValue("q1_r2_c1");
if (r2value) < (r1value)
{strErrorMessage="error";}
然而,当我在r2中输入一个较小的数字时,它不会给出错误,并继续进行下一题。
任何帮助都是感激的。
我认为最后一部分应该是
if(r2value < r1value)
现在括号不匹配
相关文章:
- $rootScope not working
- jQuery document.ready not working
- Javascript getElementsByTagName not working?
- JQuery.val( ) not working
- Tomcat websocket is not working
- Javascript JSON.parse not working
- NodeJS Multer is not working
- Regex not working
- Ember run.debounce not working
- AngularJs 1 not working
- document.getElementById.style.backgroundImage not working
- Rxjs5, distinct() is not working
- createOscillator noteOn not working
- Javascript - .getHours() not working
- Javascript setTimeout not working | onkeydown
- MongoDB $pull not working
- Express router.use not working
- JSONP not working
- window.opener not working in chrome & IE
- Backbone + RequireJS: Collection.each() is not working