Hi
I have problem with rico.js file.
we are using the struts client-side validations. Its working fine.
Recently i am adding ajax with help of rico.js file. Now my problem is
started. i am creating the one array instace with new Array() method but
it is going to rico.js file, this is the problem. How can i solve this
problem,i might be use the rico.js. if i include the this js, my problem
is starts.
Sample Code this problem:-
-------------------------
[HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> Problem </TITLE>
<SCRIPT LANGUAGE="JavaS cript">
function Test()
{
var aa = new Array();
for(x in aa)
{
alert(x);
}
}
</SCRIPT>
<script src="./js/prototype.js" type="text/javascript"
>JavaScript</script>
<script src="./js/rico.js" type="text/javascript" >JavaScript</script>
</HEAD>
<BODY>
<button onclick="Test() ;">Test</button>
</BODY>
</HTML>
[/HTML]
Please help.
Yarra
I have problem with rico.js file.
we are using the struts client-side validations. Its working fine.
Recently i am adding ajax with help of rico.js file. Now my problem is
started. i am creating the one array instace with new Array() method but
it is going to rico.js file, this is the problem. How can i solve this
problem,i might be use the rico.js. if i include the this js, my problem
is starts.
Sample Code this problem:-
-------------------------
[HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> Problem </TITLE>
<SCRIPT LANGUAGE="JavaS cript">
function Test()
{
var aa = new Array();
for(x in aa)
{
alert(x);
}
}
</SCRIPT>
<script src="./js/prototype.js" type="text/javascript"
>JavaScript</script>
<script src="./js/rico.js" type="text/javascript" >JavaScript</script>
</HEAD>
<BODY>
<button onclick="Test() ;">Test</button>
</BODY>
</HTML>
[/HTML]
Please help.
Yarra
Comment