WebInput javascript error - possible to wrap errors

3 replies. Last post: May 7, 2012 9:57 PM by Bernard Xiang
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Frank PMember

I receive an error "Microsoft JScript runtime error: Object doesn't support this property or method" on the following piece of code:

vff678.Value =vff678.Value.replace(new RegExp("\\+","img"),"+");

 

This comes from the file 307200207 with the following header:

// Generated by Intersoft Script Optimizer V1.5 + Intersoft JS Engine MaxObfuscate(tm) V1.0

// Generated Datetime : 9/18/2008 9:14:03 AM

// Copyright (c) 2005 Intersoft Solutions.

// Unauthorized decryption/reproduction of any codes contained herein is strictly prohibited and will result in severe civil and criminal penalties .

//**Start Encode**

 

No further javascript is executed, which is not allowing my code to update a panel. Is there a way to wrap the IS code with a handler so the code that breaks does not cascade failure through the remaining code? I may have to remove the WebInput control, as it seems to be the problem.

 
All times are GMT -5. The time now is 8:31 AM.
Previous Next