Hi,
Iam using a HTML form in my Cognos 8.4 report the code for which is seen below:-
<form name="floodzone"><p>
<input type="text" size="60" name="address" value="1600 Amphitheatre Pky, Mountain View, CA" />
<input type="button" value="Go!" onclick="showAddress();" />
</p>
<div id="map_canvas" style="width: 1000px; height: 375px"></div></form>**
and i am referencing the above code in the follwoing manner in the HTML item itself:-
function showAddress() {
//var address =
alert(document.floodzone.address.value);}
But when i click on the Go button i get the following error as an 'Error in page' (the one u get on the browsers):- Error: 'document.floodzone.address' is null or not an object
this same code when i run using Frontpage or Normal IE itself runs fine. But as soon as i put this in Cognos HTML container it thros the error.
Request any leads into this.