How to call javascript function from Jquery function?
Hello,
$(function() {
$("#changeTicketNumber").keyup(function(e) {
var textValue = $(this).val();
if(trimAll(textValue) == null || trimAll(textValue).length == 0)
{
alert("Please enter change id or incident id",'error');
return;
}
if(e.keyCode == 13){
validateCHSTicketNumber1(); // in IE it is showing object expected error.
}
});
});
For me i have to enter some value in text box and click enter button to submit it.So here in Mozilla working fine.In IE8 ' validateCHSTicketNumber1(); ' it is not able to call and telling Object expected error (script error).
How can i resolve this issue?
Thank you.