Hi all,

my problem is that i use RegExp in javascript in order to refresh one
combobox from an input, something like this:

exreg= new RegExp(my_vay,"i");

array[sub]['ITEM'].search(exreg)==0

etc, etc, and it works, but when i add prototype library

<script type="text/javascript" src="js/prototype.js"></script>

now it doesnt work, and the error is on line

array[sub]['ITEM'].search(exreg)==0

that is undefinded, i was cheking prototype.js and i founded something
like this

RegExp.prototype.match = RegExp.prototype.test;

and other lines with "RegExp", my question is:

is there any problem usign RegExp on javascript and prototype
library??

thanks in advance

eulerss




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to