Hi all,
I have a javascript file say :
var str="initially hai";
function store()
{
str = "now, hello";
} //please ignore if i have any syntax problem
function ripoff()
{
alert(str);
}
Now, if i access the "store()" in the
java script from a first.jsp file, it would change the value of str to "now, hello". But if i access the ripoff method from a different
jsp (second.jsp) file, will it have the value "now, hello". Pls explain this concept.
Thanks !!